[Bug 680301] Re: DNS Search Domain in instance /etc/resov.conf should be set by DHCP

Kieran Evans keyz182 at gmail.com
Tue Apr 5 15:36:28 UTC 2011


I think this is the same as an issue I've been trying to fix.

On a freshly started up instance (with DISABLE_DNS=n), running hostname
-f or dnsdomainname fails (causing issues with running Puppet, as, I
would expect it would with other applications).

As a temporary workaround, I used a user-data script for cloud-init to
put the following lines into /etc/dhcp3/dhclient.conf on the instance:

supersede domain-name "eucalyptus.internal"
supersede domain-search "eucalyptus.internal";
prepend domain-name-servers 172.19.1.1; 

(I'm using the CLC private IP, because when using the public IP, the
returning packets are from the local address, and dns doesn't like it.)

I've been looking at a way to do this from the DHCP server on the CLC,
and from what I can gather, I'd need to modify "tools/eucanetd" and
possibly add some new options to eucalyptus.conf?

Can anyone comment on if this is correct?

Also, would it be worth adding the ability to set/override dhcp server
options from eucalyptus.conf?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in Ubuntu.
https://bugs.launchpad.net/bugs/680301

Title:
  DNS Search Domain in instance /etc/resov.conf should be set by DHCP



More information about the Ubuntu-server-bugs mailing list