Which nameservers am I using?

Net Llama! netllama
Sat May 28 17:41:20 PDT 2005


On 05/28/2005 02: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.

I've never heard of /etc/network/interfaces before.  /etc/resolv.conf is 
traditionally the authority on this.

But you can still use nslookup or dig to tell you too.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
LlamaLand		 		http://netllama.linux-sxs.org

  15:45:01 up 47 days,  2:00,  2 users,  load average: 0.10, 0.39, 0.70


More information about the Linux-users mailing list