about the dig

Marc Lampo marc.lampo at eurid.eu
Tue Jul 19 05:50:26 UTC 2011


With "+trace" it still needs to know the list of root name servers to get 
started.
Since that list is not built-in, it has to ask the local caching name 
server;
as configured per /etc/resolv.conf ...

(the list cannot be built-in, because some organisations work with an 
internal
 root.  The local caching name server is the only one to know those "new" 
root's.)

Kind regards,

Marc Lampo


-----Original Message-----
From: Feng He [mailto:shorttag at gmail.com]
Sent: 19 July 2011 07:54 AM
To: Marc Lampo
Cc: bind-users at lists.isc.org
Subject: Re: about the dig

at least from my point "dig hostname +trace" should work even if there
is no resolv.conf entries.


On Tue, Jul 19, 2011 at 1:39 PM, Marc Lampo <marc.lampo at eurid.eu> wrote:
> I guess not, since "it" does not work ;-)
>
> After deleting all entries, did you :
> 1) dig @dns.name. ...
> or
> 2) dig @IP.address
> or
> 3) No "@..." argument used at all ?
>
> In cases 1 & 3, dig will need data from /etc/resolv.conf.
> Only in case 2 dig can do without.
>
> Kind regards,
>
> Marc Lampo
>
>
> -----Original Message-----
> From: Feng He [mailto:shorttag at gmail.com]
> Sent: 19 July 2011 07:33 AM
> To: bind-users at lists.isc.org
> Subject: about the dig
>
> 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?
>
> Thanks.
>
>



More information about the bind-users mailing list