From owner-freebsd-questions@FreeBSD.ORG Sun Nov 16 13:56:27 2003 Return-Path: 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 2726A16A4CE for ; Sun, 16 Nov 2003 13:56:27 -0800 (PST) Received: from ariel.ucs.unimelb.edu.au (ariel.ucs.unimelb.edu.au [128.250.20.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A24043FA3 for ; Sun, 16 Nov 2003 13:56:25 -0800 (PST) (envelope-from jrhoden@unimelb.edu.au) Received: from elkanah.its.unimelb.edu.au (elkanah.its.unimelb.edu.au [128.250.18.41])hAGLuM22002075; Mon, 17 Nov 2003 08:56:22 +1100 (EST) From: JacobRhoden Organization: University of Melbourne To: Frank Knobbe , darryl@osborne-ind.com Date: Mon, 17 Nov 2003 08:56:21 +1100 User-Agent: KMail/1.5 References: <006801c3aaf5$9a851bf0$0701a8c0@darryl> <1068849833.2408.10.camel@localhost> In-Reply-To: <1068849833.2408.10.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311170856.21808.jrhoden@unimelb.edu.au> cc: freebsd-questions@freebsd.org Subject: Re: DNS/Webhosting question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 21:56:27 -0000 X-List-Received-Date: Sun, 16 Nov 2003 21:56:27 -0000 On Sat, 15 Nov 2003 09:43 am, Frank Knobbe wrote: > On Fri, 2003-11-14 at 15:23, Darryl Hoar wrote: > > What tools exist in Freebsd to determine the primary dsn server for a > > domain > > Heh.. . everyone seems to be responding with 'nslookup -type=ns foo.com' > or 'host -t ns foo.com', but those queries return *all* name servers and > make no distinction which one is the primary. For that you have to query > the SOA which contains the primary name server for a domain. > -> host -t soa foo.com Whois is useful for the same purpose jrhoden@elkanah# whois foo.com Whois Server Version 1.3 ......... Domain servers in listed order: NS.OKDIRECT.COM 216.234.246.133 NS2.OKDIRECT.COM 216.234.246.134 ___________________________________ JacobRhoden - http://rhoden.id.au/