about the dig

eugene tsuno Eugene.Tsuno at noaa.gov
Tue Jul 19 14:53:21 UTC 2011


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 <bind at 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 at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

eugene tsuno
NOAA Boulder/NOC
325 broadway, boulder,co 80305

More information about the bind-users mailing list