Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2002 09:07:51 +0100
From:      Ceri Davies <setantae@submonkey.net>
To:        David Smithson <david@customfilmeffects.com>
Cc:        questions@freebsd.org
Subject:   Re: RFC 2317 -- reverse DNS delegation
Message-ID:  <20020410080751.GA71876@submonkey.net>
In-Reply-To: <013001c1df5e$a00ad970$0801a8c0@customfilmeffects.com>
References:  <013001c1df5e$a00ad970$0801a8c0@customfilmeffects.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020410080751.GA71876>