CIDR is killing my nerves

David Tonhofer david.tonhofer at synapse.lu
Mon Mar 5 17:10:21 UTC 2001


Philip,

There is nothing in named.conf which is of interest.

It's the reverse lookup database file that counts!

In named.conf, you would have (in my case):

// slave for the reverse lookup of the provider

zone "217.154.194.in-addr.arpa" {
        type slave;
        file "named.super.rev";
        masters {
                // ns1.pt.lu is master
                194.154.192.1;
        };
};

// our own reverse lookup

zone "224.217.154.194.in-addr.arpa" {
        type master;
        file "named.rev";
        allow-transfer { 194.154.217.229; };
};


And in named.rev, you would list the PTR records
for the CNAMES assigned by your provider to the in-addr.arpa.
names corresponding to the machines on your subnetwork.
(which, in my case, all begin with 224.217.154.195.in-addr.arpa, 
which as you can notice, is the base address of my CIDR
subnetwork), thus:

$TTL 28800
$ORIGIN 217.154.194.in-addr.arpa.
224             IN      SOA     dns1.synapse.lu. dnsadmin.synapse.lu. (
                2001020410 28800 7200 604800 86400 )
                IN      NS      dns1.synapse.lu.
                IN      NS      dns2.synapse.lu.
$ORIGIN 224.217.154.194.in-addr.arpa.
225             IN      PTR     dns1.synapse.lu.
226             IN      PTR     wk1.synapse.lu
227             IN      PTR     wk2.synapse.lu.
etc...




More information about the bind-users mailing list