Or as previously pointed out it WILL work if you specify a name server at invocation.
That is to say you MUST either do "dig @<server>..." OR have a resolve.conf that specifies servers to attempt if not specified at invocation. (And before anyone else says it - You can of course still specify a server at invocation to bypass the ones in /etc/resolv.conf.) -----Original Message----- From: bind-users-bounces+jlightner=water....@lists.isc.org [mailto:bind-users-bounces+jlightner=water....@lists.isc.org] On Behalf Of eugene tsuno Sent: Tuesday, July 19, 2011 10:53 AM To: bind-users@lists.isc.org Subject: Re: about the dig Feng: I think G.W is pointing out that in the absence of resolv.conf, dig uses the localhost to connect to the bind server. Just tcpdump the loopback interface, and you will see it. So the reason resolution works is because you are running bind on that server. It would not work on any client which isn't running bind. We generally put the entry in so we know where our DNS requests are going, the loopback or a real interface. In doesn't have to be that way, you don't have to use the bind server on the box itself. On 7/19/11 3:54 AM, Feng He wrote: > On Tue, Jul 19, 2011 at 2:47 PM, G.W. Haywood <b...@jubileegroup.co.uk> wrote: > >> man resolv.conf >> >> " If this file doesn't exist the only name server to be queried will be on >> the local machine; the domain name is determined from the >> hostname and the domain search path is constructed from the domain >> name." >> > Nothing around the resolv.conf, I was talking about dig. > Thanks. > _______________________________________________ > 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 -- eugene tsuno NOAA Boulder/NOC 325 broadway, boulder,co 80305 303-497-6392 _______________________________________________ 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 Proud partner. Susan G. Komen for the Cure. Please consider our environment before printing this e-mail or attachments. ---------------------------------- CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you. ---------------------------------- _______________________________________________ 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