Reverse DNS lookups

Joe Kattner joe.kattner at adelphia.com
Mon Feb 25 14:28:54 UTC 2002


I'm assuming the original post contained the correct information, the ISP
has allocated 4 addresses out of a /25. (255.255.255.128 is 128 addresses,
not 4) If that is the case the zone file for the ISP would have to delegate
them individually within that subnet, as it's broken up with these smaller
groups of 4 or whatever, and couldn't delegate the subnet as a whole (RFC
2317 style).

If the original poster uses the example you give below then he becomes
authoritative for the whole 217.8.136.0 Class C address space, which is what
he is trying to avoid, as he only has 4 of the addresses.

The ISP would need create the NS records for delegation of each IP in their
136.8.217.in-addr.arpa zone for every address, and he would have 4 zones
1.136.8.217.in-addr.arpa, etc.. Getting a whole subnet is much easier as
they could delegate the whole thing to him as a single zone with an
arbitrary name.

--Joe

-----Original Message-----
From: John R. Shearer [mailto:john at shearers.net]
Sent: Friday, February 22, 2002 10:40 PM
To: bind-users at isc.org
Subject: FW: Reverse DNS lookups



I'll make it easy for you, but Read the Fine Manual anyway; I might have
made a mistake.

;
; ------ Begin db.217.8.136 ------
;
$TTL 604800
@ IN SOA yourdomain.tld. hostmaster.yourdomain.tld. (
        200202060       ; Serial number
        28800   ; Refresh after (seconds)
        7200    ; Retry after (seconds)
        604800  ; Expire after (seconds)
        86400   ; Negative Cache TTL (seconds)
)
; Nameserver entries
 IN     NS      ns1.yourdomain.tld.
;
; Host Entries
1       IN PTR  host1.yourdomain.tld.
2       IN PTR  host2.yourdomain.tld.
3       IN PTR  host3.yourdomain.tld.
4       IN PTR  host4.yourdomain.tld.
;
; ...where host1's IP address is 217.8.136.1, and so on
;
; ------ End db.217.8.136 ------
;

In named.conf...

zone "136.8.217.in-addr.arpa" {
        type master;
        file "db.217.8.136";
};

  - John R. S. 


----------
From: "Christian Opsahl" <copsahl at online...no>
Newsgroups: comp.protocols.dns.bind
Date: Sat, 23 Feb 2002 01:23:13 GMT
To: comp-protocols-dns-bind at isc.org
Subject: Reverse DNS lookups

I want to administrate my own reverse, but im a bit out of my league here.

I have 4 ip adresses which my ISP is administrating the reverse for, but i
wanna do this my self. My ISP can forward this to me but, I dont know how to
set up reverse for ip adresses that is`nt a part of a class C net.

Here is an example on how it looks like:


217.8.136.xx
217.8.136.yy
subnet: 255.255.255.128

How should the input in my named.conf file be? And how would my zone file
for these ip adresses look like.

---
Christian






More information about the bind-users mailing list