reverse lookup on non /24 delegation (part deux)
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Tue Sep 4 00:22:47 UTC 2001
> Hello all,
>
> I sent a post a few weeks back and got no reply.
People did reply. Check the archives.
> Basically I've been given
> a /25 block and reverse lookup has been delegated to our DNS server running
> BIND8 with DDNS. Since no one replied and I'm basically convinced that the
> problem lies with the fact that BIND (or so the guys at DHCP said) was
> sticking things into the zone file. Specifically, it's sticking a "$ORIGIN
> 177.110.64.in-addr.arpa" in the zone file even though named.conf has been
> configured with a zone "128/25.177.110.64.in-addr.arpa".
"$ORIGIN 177.110.64.in-addr.arpa." is *not* unexpected when the zone
name is "128/25.177.110.64.in-addr.arpa". The next line most
probably is "128/25 IN SOA ...".
128/25 + $ORIGIN 177.110.64.in-addr.arpa. gives
128/25.177.110.64.in-addr.arpa.
>
> My question now is this, how can I stop BIND from sticking $ORIGIN in there
> when DDNS is enabled or more generally, how can I stop BIND from sticking
> things in there that I do not want. BTW, I know BIND is responsible because
> the zone file now contains ";BIND DUMP V8" on the first line of the zone
> file.
Now you real problem is that 177.110.64.in-addr.arpa doen't
contain the CNAME records that should be pointing into
128/25.177.110.64.in-addr.arpa.
Mark
; <<>> DiG 8.3 <<>> ptr 129.177.110.64.in-addr.arpa
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0
;; QUERY SECTION:
;; 129.177.110.64.in-addr.arpa, type = PTR, class = IN
;; ANSWER SECTION:
129.177.110.64.in-addr.arpa. 23h58m33s IN PTR host-64-110-177-129.interpacket.net.
;; AUTHORITY SECTION:
177.110.64.in-addr.arpa. 23h58m33s IN NS ns4.interpacket.net.
177.110.64.in-addr.arpa. 23h58m33s IN NS ns1.interpacket.net.
177.110.64.in-addr.arpa. 23h58m33s IN NS ns2.interpacket.net.
;; Total query time: 1 msec
;; FROM: drugs.dv.isc.org to SERVER: default -- 127.0.0.1
;; WHEN: Tue Sep 4 10:20:59 2001
;; MSG SIZE sent: 45 rcvd: 148
>
> Any ideas?
>
> Thanks much,
>
> M. Yu
>
>
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at isc.org
More information about the bind-users
mailing list