From owner-freebsd-questions Wed Apr 10 1: 8: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rhadamanth.submonkey.net (pc4-card4-0-cust162.cdf.cable.ntl.com [80.4.14.162]) by hub.freebsd.org (Postfix) with ESMTP id D341237B41C for ; Wed, 10 Apr 2002 01:07:56 -0700 (PDT) Received: from setantae by rhadamanth.submonkey.net with local (Exim 3.35 #1) id 16vD8x-000InC-00; Wed, 10 Apr 2002 09:07:51 +0100 Date: Wed, 10 Apr 2002 09:07:51 +0100 From: Ceri Davies To: David Smithson Cc: questions@freebsd.org Subject: Re: RFC 2317 -- reverse DNS delegation Message-ID: <20020410080751.GA71876@submonkey.net> Mail-Followup-To: Ceri Davies , David Smithson , questions@freebsd.org References: <013001c1df5e$a00ad970$0801a8c0@customfilmeffects.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <013001c1df5e$a00ad970$0801a8c0@customfilmeffects.com> User-Agent: Mutt/1.3.28i 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 Mon, Apr 08, 2002 at 05:36:44PM -0700, David Smithson wrote: > Hi. I had Pacbell delegate authority to my nameserver according to RFC > 2317. However, I'm a bit confused about how to setup my own zone. Here's > zone file: > > $ttl 1h > 177.82.134.66.in-addr.arpa. IN SOA rotini.customfilmeffects.com. > hostmaster.customfilmeffects.com ( > 1018285447 > 10800 > 3600 > 1H > 1H ) > 177.82.134.66.in-addr.arpa. IN NS rotini.customfilmeffects.com. > 177.82.134.66.in-addr.arpa. IN NS ns1.pbi.net. > 177.82.134.66.in-addr.arpa. IN NS ns2.pbi.net. > 178 IN PTR rotini.customfilmeffects.com. > > and here's what DIG returns: > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 47089 > ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0 > > ;; QUESTION SECTION: > ;178.82.134.66.in-addr.arpa. IN PTR > > ;; ANSWER SECTION: > 178.82.134.66.in-addr.arpa. 300 IN CNAME > h-66-134-82-178.customfilmeffects.com. > > ;; AUTHORITY SECTION: > customfilmeffects.com. 8384 IN SOA rotini.customfilmeffects.com. > hostmaster.customfilmeffects.com. 2002031936 7200 3600 604800 86400 > > ;; Query time: 81 msec > ;; SERVER: 208.230.117.66#53(ns1.laserlink.net) > ;; WHEN: Mon Apr 8 12:05:00 2002 > ;; MSG SIZE rcvd: 149 > > I would expect DIG to return the correct hostname. What is going on here? > Is my zonefile setup improperly? Yes, it is. This isn't how RFC2317 delegation works. What you need to do, is in the zonefile for customfilmeffects.com, add in this record : h-66-134-82-178 IN PTR rotini.customfilmeffects.com. That's it. You don't need a separate in-addr.arpa zone at all, as Pacbell are running that zone - they just add in CNAMEs that point to your PTR records in the customfilmeffects.com zone. Hope this makes sense to you, Ceri -- get the cool shoe shine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message