Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 17:47:46 +0100
From:      Cliff Sarginson <csfbsd@raggedclown.net>
To:        questions@freebsd.org
Subject:   Re: Finding DNS server
Message-ID:  <20020220164746.GC3600@raggedclown.net>
In-Reply-To: <F97BLmUjS5C7lAhj16t00007b60@hotmail.com>
References:  <F97BLmUjS5C7lAhj16t00007b60@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 20, 2002 at 12:57:01AM -0700, Charles Burns wrote:
> What command canI use to find the DNS server that my system is currently 
> using. I am finding it amazingly difficult to locate this information.
> My ISP uses DHCP and said IP addresses are not available from them for some 
> reason.
> 
> Thanks ahead of time
> 
Just type "nslookup" without any arguments.
The first 2 lines should tell you which server it is looking
at (before anyone else says it, I know *nslookup* is no longer
recommended for reliable use, but it may be helpful here.
I noted the other day under Slackware Linux, you even get a
4-5 line warning about the defunctness of nslookup when you use
it).

The answer should also be in /etc/resolv.conf...

-- 
Regards
   Cliff Sarginson -- <csfbsd@raggedclown.net>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020220164746.GC3600>