Which nameservers am I using?

Collins Richey crichey
Sat May 28 19:11:50 PDT 2005


Dig only tells me the address of my gateway router. OTOH, if I use dig
-identify url, I get the authorative dns server as well. Is there a
way to get which dns servers were used along the way?

Thanks,

-- 
Collins

On 5/28/05, Collins Richey <crichey at gmail.com> wrote:
> I'd be curious to know the answer, too. nslookup or dig don't seem to
> tell me the answer.
> 
> I know that /etc/resolv.conf is overwritten by dhcp if you're not
> using a fixed ip address. In my case it points a destination and ip
> address on my router.
> 
> The system I'm running from (ubuntu) has no dns information in
> /etc/network/interfaces.
> 
> Good luck,
> 
> -- 
> Collins
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On 5/28/05, Michael Hipp <Michael at hipp.com> wrote:
> > Is there a command that will tell me - in no uncertain terms - what list 
> > of dns nameservers I'm searching and in what order.
> > 
> > I have a box with one thing in /etc/resolv.conf and something else in 
> > /etc/network/interfaces. Dunno which rules.
> > 
> > Thanks,
> > Michael
> > _______________________________________________
> > Linux-users mailing list ( Linux-users at linux-sxs.org )
> > Unsub/Password/Etc:
> > http://mail.linux-sxs.org/cgi-bin/mailman/listinfo/linux-users
> > 
> > Need to chat further on this subject? Check out #linux-users on
> > irc.linux-sxs.org !
> > 
> 
> 
> -- 
>  Collins
>        Head teachers of the world unite: you have nothing to lose but 
>        the Start button.
> 


-- 
 Collins
       Head teachers of the world unite: you have nothing to lose but 
       the Start button.



More information about the Linux-users mailing list