reverse-zone and subnet

Peter Pilsl pilsl at goldfisch.at
Fri Jan 18 17:20:09 UTC 2002


> 
> The second $ORIGIN line is wrong.  The zone is
> 29/96.42.229.213.in-addr.arpa, not 42.229.213.in-addr.arpa.
> 
> Why do you bother with the two $ORIGIN lines at all?  The default origin is
> the zone name, so if you change the SOA record to use the special name "@"
> then everything should work right:
> 
> @ IN SOA ...
>   IN NS ...
> 
> 97 PTR ...
> 98 PTR ...
> 

thnx - I wont get errors now (I was dead sure that this was what I've
tried first, but obviously I didnt which make me feel a bit stupd
now), but it doesnt work anyway ... (After I killed and restarted named
to flush the buffer)

# dig @localhost -x 213.229.42.97 +norecursion
 
; <<>> DiG 9.2.0rc3 <<>> @localhost -x 213.229.42.97 +norecursion
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1718
;; flags: qr ra; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 4
 
;; QUESTION SECTION:
;97.42.229.213.in-addr.arpa.    IN      PTR
 
;; AUTHORITY SECTION:
.                       162574  IN      NS      A.ROOT-SERVERS.NET.
.                       162574  IN      NS      B.ROOT-SERVERS.NET.
.                       162574  IN      NS      C.ROOT-SERVERS.NET.
<skip rest of sad result>

if I leave the norecursion I get the currently assigned reverse-lookup
of my ISP ...

my local bind still doesnt feel responsible for this adress-range.


thnx,
peter

ps: again the part of the configfile:

zone "29/96.42.229.213.in-addr.arpa" IN {
        type master;
        file "master/213.229.42.96";
        allow-query { any; };
};~


and the zonefile:

$TTL 259200     ; 3 days
@       IN SOA  ns1.ihf-hr.org. pilsl.goldfisch.at. (
                                2002011804 ; serial
                                28800      ; refresh (8 hours)
                                7200       ; retry (2 hours)
                                2419200    ; expire (4 weeks)
                                86400      ; minimum (1 day)
                                )
                        NS      ns1.ihf-hr.org.
                        NS      ns2.ihf-hr.org.
 
97                      PTR     gate.ihf-hr.org.
98                      PTR     alpha.ihf-hr.org.
102                     PTR     beta.ihf-hr.org.
100                     PTR     gamma.ihf-hr.org
99                      PTR     alpha.goldfisch.at
101                     PTR     beta.goldfisch.at


-- 
peter pilsl

phone: +43 699 13574035
fax  : +43 699 43574035 
email: pilsl at goldfisch.at

pgp-key available


More information about the bind-users mailing list