VPN with IPv6 connectivity but no IPv6 DNS server results in broken DNS config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NetworkManager-OpenVPN |
Fix Released
|
Medium
|
|||
network-manager (Ubuntu) |
Fix Released
|
High
|
Aron Xu | ||
network-manager-openvpn (Ubuntu) |
In Progress
|
High
|
Unassigned |
Bug Description
When connecting to a VPN that provides both a default route over IPv4 and IPv6, but only DNS servers over IPv4, you can end up with the IPv4 DNS servers set up as "split DNS". When that happens, the user is left without a working DNS configuration.
See the attached log file for an example.
I think the cause is that the patch for avoiding split DNS on VPNs with default routes[1] stops looking when it finds the first VPN configuration with a default route. If that configuration happens to be the IPv6-side of the VPN connection, then it will still add the IPv4 configuration with split DNS.
A workaround is to simply add a IPv6 DNS server to the configuration in addition to the IPv4 DNS servers. In that case, the IPv6 DNS server is added without split DNS.
This has been tested with both Ubuntu 14.04 LTS and Xubuntu 14.04.
Package versions (on Xubuntu 14.04):
network-manager 0.9.8.8-0ubuntu7
network-
openvpn 2.3.2-7ubuntu3
Changed in network-manager: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
affects: | network-manager → network-manager-openvpn |
tags: | added: desktop-trello-import |
Changed in network-manager-openvpn (Ubuntu): | |
assignee: | Aron Xu (happyaron) → nobody |
Status changed to 'Confirmed' because the bug affects multiple users.