DNS Search Domain in instance /etc/resolv.conf should be set by DHCP
Bug #680301 reported by
Kiall Mac Innes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eucalyptus |
New
|
Undecided
|
Daniel Nurmi | ||
eucalyptus (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
With DISABLE_DNS="N" in /etc/eucalyptus
The DHCP server config should be aware of the DISABLE_DNS setting and act accordingly.
This can cause some applications to fail without manually adding an /etc/hosts entry (For example, Apache ActiveMQ).
Changed in eucalyptus: | |
assignee: | nobody → Daniel Nurmi (nurmi) |
Changed in eucalyptus (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
summary: |
- DNS Search Domain in instance /etc/resov.conf should be set by DHCP + DNS Search Domain in instance /etc/resolv.conf should be set by DHCP |
To post a comment you must log in.
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" internal" ;
supersede domain-search "eucalyptus.
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?