After upgrade to 12.04 name resolution does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Incomplete
|
High
|
Unassigned |
Bug Description
I was using a simple scheme for DNS resolution before upgrading from 11.10 to 12.04: there are three interfaces on the computer, eth0 is the main one, acquires IP and DNS automatically from 10.0.0.1, which is also the default route.
But after upgrade to the new DNS scheme on ubuntu 12.04, it does not work. Everything seems in order:
/etc/network/
------------
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
-----------
/etc/resolv.conf (link to ../run/
------------------
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search patola.org
-----------------
/var/run/
------------------
server=
server=8.8.8.8
server=8.8.4.4
server=
server=
server=
server=143.106.2.5
server=
server=
server=
server=
-----------------
under /etc/resolvconf
base - null, 0 bytes
head:
-------
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
-------
original:
-------
# Generated by NetworkManager
domain patola.org
search patola.org
nameserver 200.212.223.43
nameserver 8.8.8.8
nameserver 8.8.4.4
# NOTE: the libc resolver may not support more than 3 nameservers.
# The nameservers listed below may not be recognized.
nameserver 200.212.223.44
nameserver 208.53.170.32
nameserver 200.212.223.100
nameserver 143.106.2.5
nameserver 200.162.192.51
nameserver 200.162.192.50
nameserver 200.162.192.49
nameserver 200.162.192.52
-------
In other words, all these server are the right ones, however, when I try to do a DNS query, it goes like that:
[root@bmw ~]# dig www.terra.com.br
; <<>> DiG 9.8.1-P1 <<>> www.terra.com.br
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53771
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 4, ADDITIONAL: 6
;; QUESTION SECTION:
;www.terra.com.br. IN A
;; AUTHORITY SECTION:
terra.com.br. 71303 IN NS d.dns.terra.com.br.
terra.com.br. 71303 IN NS b.dns.terra.com.br.
terra.com.br. 71303 IN NS a.dns.terra.com.
terra.com.br. 71303 IN NS c.dns.terra.com.
;; ADDITIONAL SECTION:
d.dns.terra.com.br. 70276 IN A 200.215.194.1
d.dns.terra.com.br. 70276 IN AAAA 2001:12c0:
b.dns.terra.com.br. 70276 IN A 200.215.193.1
b.dns.terra.com.br. 70276 IN AAAA 2001:12c0:
a.dns.terra.com. 156677 IN A 200.215.193.1
c.dns.terra.com. 156677 IN A 200.215.194.1
;; Query time: 17 msec
;; SERVER: 127.0.0.
;; WHEN: Sun Apr 29 15:05:37 2012
;; MSG SIZE rcvd: 235
In other words, it returns a null response!!! No address!
As soon as I change 127.0.0.1 on /etc/resolv.conf to a real DNS server, it works again. But of course, when configured this way it never uses dnsmasq. Why has the conversion not worked?
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: resolvconf 1.63ubuntu11
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu6
Architecture: amd64
Date: Sun Apr 29 14:46:00 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
PackageArchitec
SourcePackage: resolvconf
UpgradeStatus: Upgraded to precise on 2012-04-06 (23 days ago)
summary: |
- After upgrade to 12.04 resolvconf seems ok but does not work + After upgrade to 12.04 name resolution does not work |
Thanks for this bug report. Since resolvconf appears to be populating /etc/resolv.conf as designed, but dnsmasq is failing to resolve for you, I'm reassigning this to network-manager (the package responsible for setting up dnsmasq this way on the desktop).
Since you're getting an answer at all, dnsmasq is clearly running.
And you don't have any other nameserver implementations installed locally (e.g., bind9) that could be taking the socket instead of dnsmasq, correct?
Does reducing the number of nameservers registered have any effect on whether dnsmasq works correctly?