network-manager suddenly using VPN nameserver for single domain only, not updating resolv.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When connecting to a VPN using network manager (openconnect), DNS resolution stops working for me.
This is a regression since 14.10 (and vivid in the last few weeks) where it worked as before. Verified working on a fresh install of 14.10, upgraded and then verified broken on 15.04.
Under 14.10 (utopic), the VPN name-servers were used for the entire system.
Under 15.04 (vivid), as of this week, it uses the VPN name-servers only for the "VPN domain" (in this case, au.wordomain.com) and attempts to use the LAN name-server for all other names.
This breaks for two reasons
(1) The VPN domain (which is automatically retrieved from the VPN server, and is not manually set, and cannot be overridden) is not the only domain I required overridden to get internal DNS.
(2) The local nameserver access is blocked/firewalled by the openconnect policy, and thus even global resolution stops workling.
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
openconnect[2710]: Connected vpn0 as 10.131.11.21 + 2406:cdef:
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
dnsmasq[1485]: setting upstream servers from DBus
dnsmasq[1485]: using nameserver 220.233.0.4#53
dnsmasq[1485]: using nameserver 220.233.0.3#53
dnsmasq[1485]: using nameserver 10.101.11.12#53 for domain au.workdomain.com
dnsmasq[1485]: using nameserver 10.101.11.12#53 for domain 10.in-addr.arpa
dnsmasq[1485]: using nameserver 10.101.12.12#53 for domain au.workdomain.com
dnsmasq[1485]: using nameserver 10.101.12.12#53 for domain 10.in-addr.arpa
Same connection a couple weeks ago: 809]: <info> VPN connection 'Work VPN' (IP Config Get) reply received. 809]: <info> VPN connection 'Work VPN' (IP4 Config Get) reply received. 809]: <info> VPN Gateway: 101.10.10.101 809]: <info> Tunnel Device: vpn0 809]: <info> IPv4 configuration: 809]: <info> Internal Address: 10.131.11.21 809]: <info> Internal Prefix: 21 809]: <info> Internal Point-to-Point Address: 10.131.11.21 809]: <info> Maximum Segment Size (MSS): 0 809]: <info> Forbid Default Route: no 809]: <info> Internal DNS: 10.97.11.12 809]: <info> Internal DNS: 10.97.12.12 809]: <info> DNS Domain: 'au.workdomain.com' 809]: <info> No IPv6 configuration 809]: <info> (vpn0): link connected 809]: <info> VPN connection 'Work VPN' (IP Config Get) complete. 809]: <info> VPN plugin state changed: started (4) 809]: <info> NetworkManager state is now CONNECTED_LOCAL 809]: <info> NetworkManager state is now CONNECTED_GLOBAL 809]: <info> Writing DNS information to /sbin/resolvconf
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost openconnect[22503]: Connected vpn0 as 10.131.11.21, using SSL
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost NetworkManager[
Mar 25 08:54:23 localhost dnsmasq[1454]: setting upstream servers from DBus
Mar 25 08:54:23 localhost dnsmasq[1454]: using nameserver 10.97.11.12#53
Mar 25 08:54:23 localhost dnsmasq[1454]: using nameserver 10.101.11.12#53