We have Linux boxes with static IP, some using Centos and other Debian, using IP ranges reserved for development and testing.
We need this boxes to 'publish' their DNS into DNS Server 2008R2, without administrator nor manual intervention.
These hosts has their hostname properly configured, but they don't register themselves to the DNS, so I cannot access them with their hostname.
On a windows box, this process is automatic and you can force re-registration with ipconfig /registerdns. Do we have equivalent for the Linux family?
The idea is to make these hosts to automatically add an entry for themselves on the DNS server so I can access them using their hostname.
RFC 2136 `Dynamic Updates in the Domain Name System (DNS UPDATE)' defines the protocol.
Actually, there is a utility named nsupdate that follows the protocol and provide what I was looking for. On Debian and Ubuntu, nsupdate defined as 'nsupdate is the little-known brother of nslookup'
You can add and delete 'a', 'aaaa', 'cname' and perhaps other records.
It's important to remind that your DNS server need to be 'open' and to accept dynamic updates. Due the fact that you can add any arbitrary IP address and delete legal entries, dynamic updates makes your DNS server a very insecure source of information! however, cool!
sample