What should "/etc/resolv.conf" look like?

Simon Waters Simon at wretched.demon.co.uk
Mon Jan 27 09:58:09 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kamran Remin wrote:
>
> when running a bind nameserver, what should "/etc/resolv.conf"
look like?

resolv.conf specifies the DNS client configuration and has
NOTHING particularly to do with DNS server configuration.

I have deployed DNS servers that are not DNS clients, and thus
/etc/resolv.conf doesn't even exist.

If you follow best practice guidelines with BIND, and DNS, then
an authoritative server would not provide recursion, and so the
line "nameserver 127.0.0.1" would be reserved for recursive DNS
servers only.

You only list one name server in resolv.conf, best practice
suggests you list more than one DNS server here, in case the
server at 127.0.0.1 is not running.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+NQKwGFXfHI9FVgYRArH4AJ9DOvwglUtMcY34IEokLiPSJ4Kn3wCgrL3v
UG5g+nUGn6ULZXRCBscgnd0=
=R2IV
-----END PGP SIGNATURE-----



More information about the bind-users mailing list