<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi,<br>I am trying to do reverse DDNS on a classless zone. I have configured my zone declaration in dhcpd.conf as follow:<br><br>zone 128-25.25.119.129.in-addr.arpa<br>{<br> primary 129.119.65.10;<br>}<br>=======================also in dhcpd.conf====================<br>subnet 129.119.25.128 netmask 255.255.255.128<br>{<br> option subnet-mask 255.255.255.128;<br> option broadcast-address 129.119.25.255;<br> ddns-updates true;<br> one-lease-per-client true;<br> ping-check false;<br> max-lease-time 604800;<br> min-lease-time 600;<br> default-lease-time 604800;<br> do-reverse-updates true;<br> dynamic-bootp-lease-length 604800;<br> ddns-domainname "a.b.com";<br> ddns-rev-domainname "128-25.25.119.129.in-addr.arpa";<br><br>and the following is my reverse zone in named.conf<br><br>zone "128-25.25.119.129.in-addr.arpa"<br>{<br> type master;<br> file "4981050.65ED25AA06C49D877204B11DDCB30C43.db";<br> allow-transfer { x.x.x.x; };<br> allow-update { <IP-Address-of-DHCP-Server; };<br> also-notify { x.x.x.x; };<br>};<br><br>when a client in the said network obtains an ip address, the dhcp server registers its reverse name as follows :<br><br>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<br>where as it should be : 250.128-25.25.119.129.in-addr.arpa<br><br>zone file shows the following: (creates a subzone 129 and then a dotted name from the rest of the three octets)<br><br>$ORIGIN 129.128-25.25.119.129.in-addr.arpa.<br>$TTL 302400 ; 3 days 12 hours<br>250.25.119 PTR a.b.com.<br><br>Any Ideas why this is happening?<br><br>Thanks<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> </div></body>
</html>