named binds to *?

prince059

Verified User
Joined
Apr 20, 2006
Messages
22
Location
Lititz, PA
I found this at:

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-bind-namedconf.html

"listen-on — Specifies the network interface on which named listens for queries. By default, all interfaces are used."

I have checked my named.conf from /etc/named.conf and the "listen-on" directive wasn't set anywhere, so I'm assuming named is binding to all interfaces (IP addresses), on my system, correct?

My nameservers were setup by DA, and are the following:
ns1.valhosting.net / 65.23.154.7
ns2.valhosting.net / 65.23.154.9

I have 4 IPs:
65.23.154.7
65.23.154.9
65.23.154.10
65.23.154.233

So if I wanted to change ns1.valhosting.net from 65.23.154.7 to 65.23.154.233, the only things I would need to do is the following:

1) Edit zonefile for valhosting.net and change the A entry for ns1.valhosting.net to 65.23.154.233
2) Update domain registy with the domain registar.
3) Rehash named.

Yes? I just want to make sure this is correct before I make changes like this considering I don't have secondary DNS for my domain heh. Thanks!
 
To check what ip named is running on you can do the following:

Code:
netstat -na | grep -i list | grep 53

Dns servers use port 53.

As far as the dns updating is concerned... it is not a good idea to ever create an A record for nameservers this is something done on a global scale through the master dns database and you should just rely on their records.

Things that need to be in the dns zone file should be updated ips that you are switching to for your hosts and thats about it. The rest of it just points to your nameserver so when you update at your registrar it will update there as well.
 
Back
Top