Reverse DDNS on classless zones

atif yameen atifyameen at hotmail.com
Wed Jul 18 03:38:16 UTC 2012


Hi,
I am trying to do reverse DDNS on a classless zone. I have configured my zone declaration in dhcpd.conf as follow:

zone 128-25.25.119.129.in-addr.arpa
{
    primary 129.119.65.10;
}
=======================also in dhcpd.conf====================
subnet 129.119.25.128 netmask 255.255.255.128
{
    option subnet-mask 255.255.255.128;
    option broadcast-address 129.119.25.255;
    ddns-updates true;
    one-lease-per-client true;
    ping-check false;
    max-lease-time 604800;
    min-lease-time 600;
    default-lease-time 604800;
    do-reverse-updates true;
    dynamic-bootp-lease-length 604800;
    ddns-domainname "a.b.com";
    ddns-rev-domainname "128-25.25.119.129.in-addr.arpa";

and the following is my reverse zone in named.conf

zone "128-25.25.119.129.in-addr.arpa"
{
    type master;
    file "4981050.65ED25AA06C49D877204B11DDCB30C43.db";
    allow-transfer { x.x.x.x; };
    allow-update {  <IP-Address-of-DHCP-Server; };
    also-notify { x.x.x.x; };
};

when a client in the said network obtains an ip address, the dhcp server registers its reverse name as follows :

Jul 17 20:25:37 new dhcpd: Added reverse map from 250.25.119.129.128-25.25.119.129.in-addr.arpa to a.b.com
where as it should be : 250.128-25.25.119.129.in-addr.arpa

zone file shows the following: (creates a subzone 129 and then a dotted name from the rest of the three octets)

$ORIGIN 129.128-25.25.119.129.in-addr.arpa.
$TTL 302400     ; 3 days 12 hours
250.25.119              PTR     a.b.com.

Any Ideas why this is happening?

Thanks


















 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120717/4511ebe2/attachment.html>


More information about the dhcp-users mailing list