From owner-freebsd-questions@FreeBSD.ORG Sat Oct 28 03:08:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0E4E16A412 for ; Sat, 28 Oct 2006 03:08:26 +0000 (UTC) (envelope-from lane@joeandlane.com) Received: from elasmtp-spurfowl.atl.sa.earthlink.net (elasmtp-spurfowl.atl.sa.earthlink.net [209.86.89.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 273EC43D92 for ; Sat, 28 Oct 2006 03:08:26 +0000 (GMT) (envelope-from lane@joeandlane.com) Received: from [66.47.111.183] (helo=joeandlane.com) by elasmtp-spurfowl.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1GdeYb-00086L-G9 for freebsd-questions@freebsd.org; Fri, 27 Oct 2006 23:08:25 -0400 Received: from joeandlane.com (localhost.localnet.local [127.0.0.1]) by joeandlane.com (8.13.8/8.13.1) with ESMTP id k9S3B9Ea024742 for ; Fri, 27 Oct 2006 22:11:09 -0500 (CDT) (envelope-from lane@joeandlane.com) Received: from localhost (localhost [[UNIX: localhost]]) by joeandlane.com (8.13.8/8.13.1/Submit) id k9S3B9Xd024741 for freebsd-questions@freebsd.org; Fri, 27 Oct 2006 22:11:09 -0500 (CDT) (envelope-from lane@joeandlane.com) From: Lane To: freebsd-questions@freebsd.org Date: Fri, 27 Oct 2006 22:11:09 -0500 User-Agent: KMail/1.9.3 References: <20061028025626.GA39172@skytracker.ca> In-Reply-To: <20061028025626.GA39172@skytracker.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610272211.09539.lane@joeandlane.com> X-CD-SOLUTIONS-MailScanner-Information: Please contact the ISP for more information X-CD-SOLUTIONS-MailScanner: Found to be clean X-CD-SOLUTIONS-MailScanner-From: lane@joeandlane.com X-ELNK-Trace: e56a4b6ca9bdfda11aa676d7e74259b7b3291a7d08dfec79351b9b59605ec901cef035482799f7e2350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.47.111.183 Subject: Re: how to know what DNS server is being used X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Oct 2006 03:08:26 -0000 On Friday 27 October 2006 21:56, David Banning wrote: > On my registrars site I have two DNS servers listing. How would > I know that 1) both are working. 2) which one is being used. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Depends mostly on where you are. On server "A" you can check local dns resolution by doing: cat /etc/resolv.conf This should show you which servers are being queried for dns resolution. You can check the ability of server "A" to resolve an address by doing: nslookup www.yahoo.com If the first line says: Server: "server a name" Address: 127.0.0.1 on the first two lines, then that means that Server "A" is doing its own lookups, and probably using the contents of /etc/resolv.conf for stuff it doesn't know locally. Still on server "A" you can check the ability of server "B" to resolve an address by doing: nslookup www.yahoo.com server-b-address And the top two lines will be the Server name and address of server "B" if server "B" knows how to do dns resolution. You'd have to log into server b to cat /etc/resolv.conf, probably. If you are on a Windows box you can use the "nslookup
" syntax to verify their abilities as well. And, of course, "ipconfig /all" on windows will show you who he asks for dns resolution. lane