Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two servers (a master and slave) running DNS (bind). What should the /etc/resolv.conf file look like for the master and the slave? For example should the servers running the DNS have only :


or should they refer to the I.P. addresses of each server, as the other servers on the network do :

search <mydomain>
share|improve this question
"master and slave" - are your DNS servers authoritative, recursive, or both ? – Sandman4 Jun 7 '12 at 12:47

It depends on the listen-on directive. If the server listens on all interfaces then it does not matter whether it is or the other IP addresses.

share|improve this answer
I have listen-on-v6 { any; };, so what does that mean? – Tim the Enchanter Jun 7 '12 at 10:09
It means that it listens on any interface, and therefore is enough. For more details you can read the BIND9 Administrator's Reference Manual – adamo Jun 7 '12 at 10:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.