Dnsmasq fails to resolve if any upstream nameserver is unreachable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dnsmasq (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
network-manager (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Release: 12.04
Hardware: HP Compaq 6910p Laptop
If the backup DNS server is unreachable, dnsmasq does not try to reach primary DNS server.
In the following default configuration (clean install of 12.04) 1 out of 4 DNS queries fail. (DNSMasq seems to rotate queries between the listed servers)
wlightning@
server=75.75.75.75
server=75.75.76.76
wlightning@
wlightning@
# 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 hsd1.or.comcast.net
wlightning@
wlightning@
NetworkManager Tool
State: connected (global)
- Device: ttyUSB0 -------
Type: Mobile Broadband (CDMA)
Driver: sierra
State: disconnected
Default: no
Capabilities:
- Device: wlan0 -------
Type: 802.11 WiFi
Driver: iwl4965
State: unavailable
Default: no
HW Address: 00:1D:E0:35:69:AF
Capabilities:
Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes
Wireless Access Points
- Device: eth0 [Wired connection 1] -------
Type: Wired
Driver: e1000e
State: connected
Default: yes
HW Address: 00:1B:38:E7:F5:02
Capabilities:
Carrier Detect: yes
Speed: 1000 Mb/s
Wired Properties
Carrier: on
IPv4 Settings:
Address: 10.0.0.11
Prefix: 24 (255.255.255.0)
Gateway: 10.0.0.1
DNS: 75.75.75.75
DNS: 75.75.76.76
wlightning@
mtr of 75.75.75.75 (anycast addr):
archon (0.0.0.0) Sun Apr 29 10:13:58 2012
Keys: Help Display mode Restart statistics Order of fields quit
Host Loss% Snt Last Avg Best Wrst StDev
1. 10.0.0.1 0.0% 51 0.6 0.6 0.6 1.5 0.2
2. 73.94.124.1 0.0% 51 9.0 9.2 7.1 14.7 1.5
3. 68.85.148.1 0.0% 51 7.9 10.6 7.4 24.7 4.0
4. 68.87.216.13 0.0% 51 9.2 19.8 8.5 150.8 29.0
5. 68.87.218.162 0.0% 50 10.8 14.1 8.1 85.0 13.4
68.87.218.158
6. 68.87.216.41 0.0% 50 9.5 13.2 9.5 67.4 8.6
7. 75.75.75.75 0.0% 50 9.9 11.0 9.1 17.2 1.8
mtr of 75.75.76.76 (anycast addr):
archon (0.0.0.0) Sun Apr 29 10:12:42 2012
Keys: Help Display mode Restart statistics Order of fields quit
Host Loss% Snt Last Avg Best Wrst StDev
1. 10.0.0.1 0.0% 51 0.6 0.8 0.5 3.6 0.5
2. 73.94.124.1 0.0% 51 9.0 9.3 7.0 18.3 2.5
3. 68.85.148.9 0.0% 51 7.3 9.6 7.2 22.3 2.9
4. 68.85.243.253 0.0% 51 8.3 13.8 7.5 81.9 15.6
5. 68.86.95.97 0.0% 51 14.5 17.2 11.9 33.0 4.4
68.86.91.197
68.86.90.213
68.86.95.93
68.86.95.89
6. 68.86.95.214 0.0% 51 39.5 41.5 38.1 74.5 6.4
7. 68.86.199.130 0.0% 51 51.9 40.8 38.2 55.3 3.3
8. 75.75.76.76 44.0% 50 38.5 40.2 38.3 46.2 2.2
Added above tag because the root issue that caused me to find this was not present on 11.10: "In the following default configuration 1 out of 4 DNS queries fail. (DNSMasq seems to rotate queries between the listed servers)"
More information:
I noticed this originally when the computer was reporting unable to update packages, because it could not resolve hostnames needed to download packages, and was evidenced further by Firefox unable to load pages inconsistantly (i.e. it would load google fine for a couple of clicks, then fail, then start working again) when my 11.10 desktop was able to load the same pages consistantly.