[Bug 783951] Re: Automatically add libvirt dnsmasq to resolv.conf

Serge Hallyn 783951 at bugs.launchpad.net
Tue May 17 15:38:11 UTC 2011


I agree it would be nice to have this fully automatic.

Note that if you are using dhcp for your host's network, you can put a
line into /etc/dhcp/dchpclient.conf like:

prepend domain-name-servers 192.168.122.1;

which will ensure that 192.168.122.1 is listed as your first nameserver.
The shortcoming compared to what you are asking for is that you do need
to know the dnsmasq server's ip address in advance, but of course you
configure this (using 'virsh net-edit default') anyway.

Does this suffice for your needs?


** Changed in: libvirt (Ubuntu)
       Status: New => Incomplete

** Changed in: libvirt (Ubuntu)
   Importance: Undecided => Wishlist

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

Title:
  Automatically add libvirt dnsmasq to resolv.conf



More information about the Ubuntu-server-bugs mailing list