2006-10-26, 02:29 AM
Hi All,
While testing the DDNS server configuration with proprietory DHCP and DDNS client, I noticed a strange thing. Any help here is appreciated.
Pre-condition:
----------------
DHCP and DDNS server are running on a single LINUX machine having following version:
Linux ns1.testdns.com 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686 i386 GNU/Linux
The DHCP server was able to generate the dynamic IP Address as specified in the dhcpd.conf.
DDNS server was able to add the entries in the forward and reverse zone files eg : testdns.com and 1.168.192.in-addr.arpa
This ensures that DHCP and DDNS server settings are correct.
Test Condition:
---------------
I modified the client host name and restarted the named service so that changes are reflected in the zone files. The forward zone file was expected to be updated with the modified host name.
Results:
----------
Forward zone had two entries viz; one with old host name and other with new host name.
Analysis:
------------
I have found that this is happening because in DDNS client code,
before updating the server database with modified host name, we are checking whether a record with