Bug 637055

Summary: RFE: Provide a method to specify domain search list dhcp option
Product: Red Hat Enterprise Linux 6 Reporter: Marko Myllynen <myllynen>
Component: libvirtAssignee: Laine Stump <laine>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.0CC: akong, berrange, bsarathy, cwei, dallan, djuran, dyuan, eblake, itxx00, jdenemar, mzhan, tjackson, ydu
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 666556 (view as bug list) Environment:
Last Closed: 2014-04-23 14:46:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 655920    

Description Marko Myllynen 2010-09-24 06:55:00 UTC
Description of problem:
Currently libvirtd runs dnsmasq without setting domain or giving possibility to specify domain search list. This makes DHCP NAT networking unfriendly as host "appserver" won't get resolved, one needs to use FQDN "appserver.a.example.com". In many customer environments there are scripts, applications, and services which depend on properly specified domain search list.

Killing the libvirtd instance started by dnsmasq and running the same command manually but also using a proper configuration file solves this issue. It would be very helpful if either the configuration file could be specified in the network XML file or the related options could be added to XML directly.

The following dnsmasq options would be most needed:

expand-hosts
domain=a.example.com
dhcp-option=119,"a.example.com b.example.com example.com"

Version-Release number of selected component (if applicable):
RHEL 6.0 RC 1

Comment 4 Laine Stump 2011-10-17 14:58:45 UTC
Note that this option:

   domain=a.example.com

is added to the dnsmasq configuration whenever the line:

   <domain name='a.example.com'/>

is put in the network definition XML. This feature has been present since libvirt version 0.4.5, so it is already in RHEL6.0.

the "expand-hosts' option has also been present since libvirt 0.9.3, so it will be in the next RHEL release.

That leaves only:

   dhcp-option=119,"a.example.com b.example.com example.com"

to be implemented.

Comment 9 Jiri Denemark 2013-03-07 09:09:44 UTC
*** Bug 918832 has been marked as a duplicate of this bug. ***

Comment 10 Jiri Denemark 2013-03-14 12:52:25 UTC
*** Bug 918832 has been marked as a duplicate of this bug. ***

Comment 11 Laine Stump 2013-07-02 07:11:14 UTC
Moving to RHEL6.6 for capacity reasons.

Comment 17 RHEL Program Management 2014-04-23 14:46:19 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.