linuxconf --modulemain dhcpd --updatedns
To use this command line, one has to fill the "Update DNS domain" field because DHCP host entry only provide a name, not a name + domain. Once this is done, you can put in a cron job something like this:
#!/bin/sh if linuxconf --modulemain dhcpd --updatedns then /usr/sbin/named.reload fiIn 1.13r12, we are going a bit further. There is now a checkbox in the dialog, right below the "Update DNS domain" field. It is called "Update DNS from cron". You select this checkbox and a special command "/usr/lib/linuxconf/lib/dhcp2dns.sh" is added to root cron. You UN-check it and it is removed. It can't be easier :-)
Updating a DNS from a large lease file should be quick (a second or two at most). Check it out!
I guess not so many people have seen that. Those who have witness fire-walling rules which are never activated, check it out.
dhcp2dns.sh --domain another.domain.com --leasefile a_file