Change default dnsmasq flags to not include --strict-order and disable caching
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
When using dnsmasq as a backend, Network Manager currently passes --strict-order.
This is a good way to get a similar behaviour to that of the libc's resolver where the DNS servers are being queried sequentially with a 2-3s timeout per server. However in the case where the first DNS server is down, this will delay all the DNS queries on the system.
Instead, I recommend this parameter be dropped which will fallback to the default dnsmasq mode to send the initial request to all servers and then continue with the first one that replies. This will increase the load on the upstream DNS servers quite a bit (though not as much as using --all-servers) but will ensure a proper fallback when some servers are down or very slow.
I think this added load is reasonable and shouldn't affect most DNS servers too much. For cases where it's a concern (heavily loaded corporate network for example), I'd suggest the user simply turns off the dnsmasq plugin in /etc/NetworkMan
As discussed in https:/
Related branches
Changed in network-manager (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
tags: | added: patch |
Changed in network-manager (Ubuntu): | |
status: | Triaged → In Progress |
This bug was fixed in the package network-manager - 0.9.2.0+ git201112151936 .6b31828- 0ubuntu2
--------------- 0+git2011121519 36.6b31828- 0ubuntu2) precise; urgency=low
network-manager (0.9.2.
* debian/control: libnm-glib-vpn1 Breaks/Replaces libnm-glib2, to ease with patches/ nm-change- dnsmasq- parameters. patch: change dnsmasq's params
upgrades from Lucid. (LP: #900509)
* debian/rules: re-update the daily builds special case, we don't want to
fail daily builds for new added symbols.
* debian/
when it's started by NM to disable caching and not pass --strict-order.
Thanks to Stéphane Graber for the patch. (LP: #903854)
-- Mathieu Trudel-Lapierre <email address hidden> Mon, 09 Jan 2012 14:07:45 +0100