My DDNS somehow broke?

Scott Baker scott at perturb.org
Mon Feb 1 22:13:34 UTC 2010


I had DDNS working for a while, but checking my logs today I see it's 
broken.

Feb  1 14:07:17 blue dhcpd: Unable to add forward map from 
65-182-251-202.hsi.web-ster.com to 65.182.251.202: timed out
Feb  1 14:07:17 blue dhcpd: Unable to add forward map from 
216-105-64-101.hsi.web-ster.com to 216.105.64.101: timed out

---------------------------------------------------------------------

Here are the appropriate lines from the dhcpd.conf

# Dynamic DNS stuff
ddns-update-style interim;
ddns-updates on;
ddns-domainname "hsi.web-ster.com";

ddns-hostname = binary-to-ascii(10, 8, "-", leased-address);

key ddns {
         algorithm HMAC-MD5;
         secret "my_base64_sekrit_key";
};

zone hsi.web-ster.com. { key ddns; }
zone 255.182.65.in-addr.arpa. { key ddns; }
zone 254.182.65.in-addr.arpa. { key ddns; }
zone 253.182.65.in-addr.arpa. { key ddns; }
zone 252.182.65.in-addr.arpa. { key ddns; }
zone 251.182.65.in-addr.arpa. { key ddns; }

---------------------------------------------------------------------

Here's the appropriate lines for each zone file

zone "255.182.65.in-addr.arpa" {
         type master;
         allow-query { any; };
         allow-update { key ddns; };
         notify no;
         file "255.182.65.in-addr.arpa.dns";
};

key ddns {
         algorithm HMAC-MD5;
         secret "my_base64_sekrit_key";
};

---------------------------------------------------------------------

My named is accepting DDNS updates. If I update it manually as follows 
it works fine:

server ns1.web-ster.com
key ddns my_base64_sekrit_key
zone hsi.web-ster.com
update add 216-105-70-22.hsi.web-ster.com 600 IN A 216.105.70.22
send

It just seems to be DHCPD -> Named updates that are broken. Checking the 
named logs I'm not seeing anything. I am seeing the packets hit the 
server with TCPDUMP, it's just not updating DDNS. I'm not sure where 
else to look. Any ideas?



More information about the dhcp-users mailing list