From owner-freebsd-questions@FreeBSD.ORG Tue May 3 08:14:58 2005 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 CD4EC16A4D0 for ; Tue, 3 May 2005 08:14:58 +0000 (GMT) Received: from royk.itea.ntnu.no (royk.itea.ntnu.no [129.241.190.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E84043D86 for ; Tue, 3 May 2005 08:14:58 +0000 (GMT) (envelope-from svein-freebsd-questions@theloosingend.net) Received: from localhost (localhost [127.0.0.1]) by royk.itea.ntnu.no (Postfix) with ESMTP id 255E066D46 for ; Tue, 3 May 2005 10:14:57 +0200 (CEST) Received: from maren.thelosingend.net (maren.math.ntnu.no [129.241.211.48]) by royk.itea.ntnu.no (Postfix) with SMTP for ; Tue, 3 May 2005 10:14:56 +0200 (CEST) Received: (qmail 30456 invoked by uid 1001); 3 May 2005 08:14:56 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 3 May 2005 08:14:56 -0000 Date: Tue, 3 May 2005 10:14:56 +0200 (CEST) From: Svein Halvor Halvorsen X-X-Sender: sveinhal@maren.thelosingend.net To: Jim Freeze In-Reply-To: <42768E35.2090706@freescale.com> Message-ID: <20050503100739.Q29995@maren.thelosingend.net> References: <42768E35.2090706@freescale.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. cc: questions@freebsd.org Subject: Re: How does one bootstrap DNS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2005 08:14:58 -0000 * Jim Freeze [2005-05-02 15:31 -0500] > Suppose I own two domains: abc.com and xyz.org. > I want to host these domains myself and have them provide > the primary and secondary name servers for each other. > > Is this possible? Seems kind of circular. > > In theory I would have ns1.abc.com to map to the IP of abc.com and > ns2.abc.com to map to the IP of xyz.org. > This will give me my primary and secondary name servers. I currently only have one computer on my domain, and it provides dns lookups for itself (and virtual servers)[1] So if you ask the dotorg root name servers "what is the address of the name example.org", it would respond "ns.example.org". So how do does that help you? Enter the world of "glue" records! The root servers carry a copy of the a-records for your ns-records in case your name servers are self-hosted. Your registrar should offer you the option to "register nameserver" or something like that. Then, you could easily enter the name of your newly registered nameserver as the nameserver of your domain. Svein Halvor [1] One could argue that I should have at least two name servers, but why should I need greater redundancy on my name servers, than I have on my other services? If my dns is down, so is my mail, and am in the mercy of the sender to keep retrying anyway.