In message <bay173-w11d824e324939a1bb89852bb...@phx.gbl>, houguanghua writes:
> Dear sir/madam,
>  
> Before Bind consults authority NS, does it access /etc/hosts?  In my 
> testing,  it does not even seem to access /etc/hosts. But someone tells 
> me Bind can access /etc/hosts first. Can you pls tell me how to config 
> Bind to access /etc/hosts fist?
>  
> Thanks,
> Guanghua

No.

getaddrinfo, gethostbyname etc. however may access /etc/hosts, NIS,
mDNS, DNS and other databases.  You need to read the documentation
that comes with your system for how to control these.

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: ma...@isc.org
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to