Am 16.07.2014 03:27, schrieb houguanghua: > Sorry for what I said isn't very clear
you wheer clear > I did know when the /etc/hosts is accessed in the OS agreed > What I want to know is whether the named access the hosts file > The /etc/hosts file isn't in the client's system, for bind applies the same as for bind-utils (dig, nslookup...) anything else would be strange and unpredictable behavior > but in the system of Local DNS server where the 'named' task runs. For > example: > In the /etc/hosts file of Local DNS server(LDNS), one line exists as follows: > 10.10.10.1 www.google.com bind don't care about that > A client querys this LDNS to get the IP of 'www.google.com' (the client > may use dig,nslookup command. No host line is configured in /etc/hosts > of this client ), what IP will be returned to the client? the one of the DNS system > Can the LDNS return 10.10.10.1 defined in the /etc/hosts to the client? > maybe some special configuration in named can support this feature wrong tool - > dnsmasq can but on the other hand has no bind-like zonefiles
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 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