From owner-freebsd-questions Thu Aug 31 13:13:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 0013337B423 for ; Thu, 31 Aug 2000 13:13:40 -0700 (PDT) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=root) by scientia.demon.co.uk with esmtp (Exim 3.16 #1) id 13UZVf-0007zC-00; Thu, 31 Aug 2000 19:56:23 +0100 Received: (from ben@localhost) by strontium.scientia.demon.co.uk (8.9.3/8.9.3) id TAA63720; Thu, 31 Aug 2000 19:56:23 +0100 (BST) (envelope-from ben) Date: Thu, 31 Aug 2000 19:56:23 +0100 From: Ben Smithurst To: Kevin Oberman Cc: Caleb Walker , questions@FreeBSD.ORG Subject: Re: BIND 8.2.3-T5B Message-ID: <20000831195623.A54301@strontium.scientia.demon.co.uk> References: <006b01c012c4$fcf24640$0a01a8c0@butthead> <200008302212.e7UMClU02446@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200008302212.e7UMClU02446@ptavv.es.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kevin Oberman wrote: > This should work: > $TTL 1D > cwalk.org. IN SOA cx521708.pv1.ca.home.com. calebwalker69.hotmail.com. ( > 2000083002 ; Serial (date yyyymmdd) > 2H ; refresh > 1H ; retry > 2W ; expire > 300 ; TTL > > NS1 IN NS www.cwalk.org. > NS2 IN NS www.cwalk.org. Well, that looks legal, but is that really what the original poster wants to do? Caleb, what you are doing here is defining the sub-domains "NS1" and "NS2" and specifying www as the name server. What I'm guessing you want to do is make www the name server for the domain, in which case you just need cwalk.org. IN SOA IN NS www The same goes for the MX; do you really want the mail for subdomain mail.cwalk.org to be handled by cwalk.org? With that zone file, mail for cwalk.org can't get anywhere since cwalk.org itself doesn't have an address. @ IN SOA IN NS www IN MX 50 www www IN A 24.177.2.144 ftp IN CNAME www but perhaps I'm making invalid assumptions. No reference of cwalk.org, which is only really important if you ever want to change your domain name, or perhaps use the same zone file for multiple domains, or something. I think it looks a bit cleaner though. The "@" sign gets interpreted as the domain name specified in the named.conf file for this zone file. disclaimer: I am not a DNS expert... -- Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message