DNS for VMs

Asked by James Cook

Hi
Att the University of Derby, we are running a multi node Openstack install running Diablo on top of Ubuntu Maverick.
Is there a way to set a custom name server for our VMs?
The VMs are using novalocal as the domain / search, with the vms own local ip as the address of the nameserver . Is there a way to use our own DNS box for the VMs?
As a the moment my VMs cannot ping by hostname so I cannot run apt-get on any of them, if I manually add our DNS settings this works but resolv.conf reverts back to novalocal after a minute or two.
We are running Vlan networking.
Thanks James

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
koolhead17 (koolhead17) said :
#1

See if using cloud-init helps.

Revision history for this message
James Cook (j-cook-l) said :
#2

Thanks Koolhead17,
I assumed the VMs weren't getting onto the internet because of a DNS error, but checked my nova.conf and realised I had --routing_source set to the internal IP.
I will look at cloud-innit for my DNS error though as we would still prefer the VMs to be on our DNS.

Can you help with this problem?

Provide an answer of your own, or ask James Cook for more information if necessary.

To post a message you must log in.