[libvirt] network domain name patch
veillard at redhat.com
Sun Sep 7 16:37:16 UTC 2008
On Sat, Sep 06, 2008 at 03:14:45PM -0400, JJ Reynolds wrote:
> Hi all,
> This is a followup to the excellent patch which allows static IP address assignment. The problem with that patch is that you can only set the host name and cannot set a FQDN because dnsmasq will, as a security measure, not allow it unless --domain is specified.
> This patch adds support for adding <domain name="my.domain" /> to the network config file. With that stanza, one can then use FQDNs on the static host assignments, and this should be the domain reported for any clients that request it. If <domain name .. ./> is not specified in the config file, then there is no change in behaviour.
> As a special case, you can also set the domain name to "#", whereupon dnsmasq interprets that to use the domain of the host OS.
Sounds fine to me, and the patch looks clean and simple, I'm fine with
this, someone else with more networking insight can back this up too ?
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list