Now on the subject of what you are trying to do.

You say:
> In an effort to make sure my libvirt dnsmasq is always
> first in my list of resolvers, I have installed the resolvconf
> package and added the following to
> /etc/resolvconf/resolv.conf.d/base: 
> [...]
>     nameserver 192.168.122.1

But then you say you get a resolv.conf with:
>     nameserver 127.0.0.1


The 127.0.0.1 (loopback) address is registered with resolvconf by dnsmasq's 
initscript.  This is the address you should normally use to get name service 
from dnsmasq.

At http://wiki.libvirt.org/page/Libvirtd_and_dnsmasq it says that "A new
instance of dnsmasq is started for each virtual network, only accessible
to guests in that specific network."   It seems that you are trying to
access one of these virtual-network instances from the *host*.  If that
is really what you want to do then I think that the correct
configuration would be to have the host system dnsmasq instance consult
the virtual-network dnsmasq instance(s).  Thus on the host you would
always access dnsmasq at 127.0.0.1.  The latter must be made aware of
the v-n dnsmasq instance.  Its address is 192.168.122.1.  Since you have
already added this address to your "base" file, it should already appear
in /var/run/dnsmasq/resolv.conf.  Check to see if it's there.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/917896

Title:
  resolvconf no longer honors resolv.conf.d/base

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/917896/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to