Does bind read /etc/hosts?

Niall O'Reilly niall.oreilly at ucd.ie
Tue Jul 15 10:56:47 UTC 2014


At Tue, 15 Jul 2014 10:28:30 +0000,
houguanghua wrote:
> 
> Before Bind consults authority NS, does it access /etc/hosts? In my
> testing, it does not even seem to access /etc/hosts.

  That's right.  BIND tools (dig, ...) are DNS tools.
  Local files aren't part of the DNS.

  For more information, please see 
http://serverfault.com/questions/498500/why-does-the-host-command-not-resolve-entries-in-etc-hosts 

  Best regards,
  Niall O'Reilly


More information about the bind-users mailing list