about the dig

Phil Mayers p.mayers at imperial.ac.uk
Tue Jul 19 10:49:52 UTC 2011


On 07/19/2011 06:32 AM, Feng He wrote:
> Hi list,
>
> When I deleted all the entries in /etc/resolv.conf (I am using Linux),
> dig can't work.
> I was thinking since dig is a standard resolver, it should have the
> capibility to follow the referrel from root, thus it will work fine
> even there is no system dns resolving.
> Am I right?

No.

"dig" is a test tool. It is not a recursive resolver. It does not 
contain a list of root hints, and always starts a query at a nameserver 
you give it, either explicitly via the @server command line, or 
implicitly via /etc/resolv.conf

Even when doing +trace.



More information about the bind-users mailing list