From owner-freebsd-questions Wed Feb 20 8:48:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id 4594C37B402 for ; Wed, 20 Feb 2002 08:47:53 -0800 (PST) Received: from [212.238.194.207] (helo=mailhost.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 16dZuF-0007Dc-00 for questions@freebsd.org; Wed, 20 Feb 2002 16:47:47 +0000 Received: from angel.raggedclown.net (angel.raggedclown.intra [192.168.1.7]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [buffy]) with ESMTP id 5D1CB13040 for ; Wed, 20 Feb 2002 17:47:46 +0100 (CET) Received: by angel.raggedclown.net (Ragged Clown Host [angel], from userid 6002) id B825722590; Wed, 20 Feb 2002 17:47:46 +0100 (CET) Date: Wed, 20 Feb 2002 17:47:46 +0100 From: Cliff Sarginson To: questions@freebsd.org Subject: Re: Finding DNS server Message-ID: <20020220164746.GC3600@raggedclown.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message