Trying to get DDNS working. Some problems fixed and some new problems.

So far I have found that dhcpd version 3 is needed for DDNS and becase of a bug in Bind 9.2.0 I also needed Bind 9.2.1, maybe not but I upgraded anyway. Also the dhcp clients must send their host names for this to work and they don't by default so for now I am doing this by hand but I need find a way to make the network scripts on the clinets send their host names when the network is started. For now I am using the -h option for dhcpcd.

New problem. On my DNS I have a master zone Ept. When a client requests an IP the dhcpd server detects the hostname correctly and using my configuration setting for "Dynamic DNS domain name" it correctly assigns it to the Ept domain. The dhcpd makes a call to res_nupdate in the shared library for bind. The bind library reports that some big long number is not a zone. As you see from the /var/log/message file

Nov 14 15:46:24 grethor dhcpd: if IN A SlimBox.Ept domain doesn't exist add 43200 IN A SlimBox.Ept 192.168.0.108 add 43200 IN TXT SlimBox.Ept "314fa6f54bd46778472ffc9d954897d3c9": not a zone.

I don't know what this number is but each client gets a different number and they always get the same number. It is to big to be an md5sum, I think. But it could be like an md5sum because in the documentation for dhcpd it talks about using md5sum to generate names for hosts that the names are not sent to the server using dhcpcd -h <hostname>

Help! Has anyone used Linux to do DDNS? The abiliy to do DDNS in realtime using the dhcpd server seems to be a new thing. There are many simple hacks and scripts to setup DDNS using cron and other non-realtime ways but I need realtime.

Roy Souther
www.SiliconTao.com

Changing the way people do business.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to