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

On Thu, 3 Jan 2002, Julian Opificius posted the following:

JO>>[csm@stealth csm]$ cat /etc/host.conf
JO>>order hosts,bind

JO>3) Bind on Linux defaults to using the hosts file before going to an 
JO>upstream DNS server.

No. The name resolution order of preference is controlled by the
/etc/host.conf file. What happens is that when the stack needs to
resolve a name to an ip address it will look in the host file first. If
it's query remains unanswered after looking in the host file then it
will query the name servers. So you see it's not bind doing the looking
it's the ip stack which has been handed a name and must resolve the name
to an ip address before it can continue.

- -- 
csm
Dmitry is free!
Boycott Adobe!
Repeal the DMCA!
Stop the SSSCA!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjw1PhEACgkQv6Gjsf2pQ0pS7wCfYNJoA+KOnS4XXKcFMCrkdIGV
xrAAn135zJNyvHvdyY9JE2GoB2SC1ClA
=K85h
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to