← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 955785] Re: dnsmasq and resolvconf

 

Marco in #1> don't use base, that as far as I've understand is used only
if nothing else is available.

Asmo in #2> thank you... tail is the file for added info about dns
servers

It sounds as if both of you are a little bit confused about the use of
these files.  Please read resolvconf(8).

Addresses from "base" don't appear in resolv.conf if one of the
available nameservers is at 127.0.0.1.  It's the presence of address
127.0.0.1 that explains why 8.8.8.8 and 8.8.4.4 were not listed in
/etc/resolv.conf.

For interfaces brought up with ifup(8), /etc/network/interfaces is the
right place for nameserver information, not the "base" or "tail" files.

The configuration originally posted by Asmo was only incorrect insofar
as nameserver addresses were unnecessarily present in "base".  It would
have sufficed to put those addresses only in /etc/network/interfaces.

The presence of 127.0.0.1 in Asmo's resolv.conf indicates that dnsmasq
had been started and had registered its address with resolvconf.
Resolvconf should have sent the addresses 8.8.8.8 and 8.8.4.4 to dnsmasq
so that dnsmasq could use them as the addresses to forward queries to.

That this did not occur indicates that either dnsmasq was not running or
that some other abnormal condition existed.

Asmo: Can you reproduce the problem?  Please delete the base and tail
files, restore the dns-nameservers line in /etc/network/interfaces to
how it was when you submitted this report, see if name resolution works
(yay -- report this) or is broken, in which case please send the
contents of /etc/resolv.conf and /var/run/dnsmasq/resolv.conf and the
output from "ps -elf | grep dnsmasq".

I am assuming that you are not using NetworkManager.  Please send the
output of "dpkg -l network-manager" and "ps -elf | grep -i
networkmanager" so we can be sure.

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/955785

Title:
  dnsmasq and resolvconf

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


References