How to setup a simple self-hosted dynamic DNS server

Posted by Cerin on Server Fault See other posts from Server Fault or by Cerin
Published on 2012-03-27T15:40:34Z Indexed on 2012/03/27 17:32 UTC
Read the original article Hit count: 443

Filed under:
|
|

I have a small internal network of physical machines running hypervisors, which in turn run several KVM Ubuntu virtual machines. How would I setup an internal dynamic DNS server so that when I run a script to create a new virtual machine, that VM could automatically register itself in the DNS server?

Bind seems to be the standard DNS server for Linux, but it seems designed for a much more "static" DNS model. Dynamically updating this would require a complicated script that would have to SSH into the DNS server, edit configuration files, and then restart the server. This doesn't seem like a very elegant solution. Are there better options?

I saw a similar question, although they're asking for a solution for a public setting on Amazon. My servers are entirely private, and I don't want to rely on an external VM host or Dynamic DNS provider.

© Server Fault or respective owner

Related posts about linux

Related posts about ubuntu