Which nameservers am I using?

Mike Reinehr cmr
Sat May 28 17:50:15 PDT 2005


On Saturday 28 May 2005 04:50 pm, Michael Hipp 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

Michael,

The two tools that I'm familiar with are dig and nslookup, but both say 
specifically in their man pages that they use /etc/resolv.conf. I'm not aware 
of any options to specify a dns server in /etc/network/interfaces. How are 
you doing it?

cmr

-- 
Debian 'Sarge': Registered Linux User #241964

"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC


More information about the Linux-users mailing list