NetworkManager should put IPv6 DNS servers before IPv4 DNS servers in dnsmasq configuration (and possibly resolv.conf)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
In cases where you are indeed on a dual-stack network and received DNS information from either SLAAC or DHCPv6, these should be used before any equivalent IPv4 data (usually a fallback/
As an example, here's my generated /run/nm-
server=172.17.20.30
server=172.17.25.30
server=172.16.20.32
server=
server=
server=
The result is that dnsmasq will only use the IPv6 dns servers if all 3 IPv4 dns servers are marked as failed.
As dnsmasq is perfectly able to detect and avoid broken DNS servers, favoritizing IPv6 servers shouldn't cause any damage even in environment where the information received by NM is wrong.
Changed in network-manager (Ubuntu): | |
status: | Triaged → In Progress |
Related to bug 734781 though not identical (as the bug didn't cover dnsmasq).
I'd really appreciate having this sorted for 12.04 as it'll be pretty critical for any massive deployment using dual-stack.