DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old June 17th, 2003, 02:05 PM
betelgeise betelgeise is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 2 betelgeise User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Add second IP address to DNS server

Our ISP recently informed us that they are renumbering their IP network and our address block is changing. They have enabled both the old and new IPs for us during the transfer period. We are running BIND9 on an OpenBSD firewall using pf. I aliased the new addresses on the firewall external interface and created a second logical internal network, binat-ing the new external addresses to the new internal network. That all works fine and I can hit the services of the internal servers on either IP. But on the firewall, named will not start on the new IP address, error:
named[7096]: could not listen on UDP socket: permission denied
AND
named[7096]: creating IPv4 interface dc1 failed: interface ignored

Is there any way to get BIND to work on the aliased IP address (which of course is in a completely different subnet)?

Reply With Quote
  #2  
Old June 19th, 2003, 06:59 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
I didn't quite understand some of that. However, thinking strictly about having the BIND server listen on more than one IP address. Is it acceptable that you just set it to listen on 0.0.0.0? In that case it will listen on all interfaces. If that is not acceptable. I'll do a little research.

Reply With Quote
  #3  
Old June 19th, 2003, 09:42 PM
betelgeise betelgeise is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 2 betelgeise User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for responding. This got me thinking. I tried all zeros and did a reload and it stopped listening on all interfaces. I deleted that line from named.conf and it still wouldn't listen! So I killed the process and restarted and now it is listening on both IPs I wanted it to. DOH!
Sorry for wasting your time...

Reply With Quote
  #4  
Old June 20th, 2003, 08:06 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
yeah by default it should listen on all interfaces (0.0.0.0). Good to know it's working.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Add second IP address to DNS server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway