Cloudmin KVM DNS hostnames not working

Posted by dannymcc on Server Fault See other posts from Server Fault or by dannymcc
Published on 2012-06-04T10:37:44Z Indexed on 2012/06/04 10:43 UTC
Read the original article Hit count: 824

Filed under:
|
|
|

I have got a new server which has Cloudmin installed. It's working well and I can create and manage VM's as expected. The server came with a /29 subnet and I requested an additional /29 subnet to allow for more virtual machines. I didn't want to replace the existing /29 subnet with a /28 because that would have caused disruption with my existing VM's.

To make life easier I decided to configure a domain name for the Cloudmin host server to allow for automatic hostname setup whenever I create a new virtual machine.

I have a domain name (example.com) and I have created an NS record as follows:

NS kvm.example.com  123.123.123.123
A  kvm.example.com  123.123.123.123

In the above example the IP address is that of the host server, I also have two /29 subnets routed to the server.

Now, I've added the two subnets to the Cloudmin administration panel as follows:

Cloudmin

I've tried to hide as little information as possible without giving all of the server details away!

If I ping kvm.example.com I get a response from 123.123.123.123, if I ping the newly created virtual machine (example.kvm.example.com) it fails, and if I ping the IP address that's been assigned to the new virtual machine (from the second subnet) it fails.

Am I missing anything vital? Does this look (from what little information I can show) like it's setup correctly?

Any help/pointers would be appreciated.

For reference the Cloudmin documentation I am using as a guide is http://www.virtualmin.com/documentation/cloudmin/gettingstarted

© Server Fault or respective owner

Related posts about dns

Related posts about kvm-virtualization