[Bug 1304437] Re: After connecting to OpenVPN server the default DNS is no longer available
This still happens in Xenial. #7 has it right, if the IPv4 and IPv6 'use this connection only for resources on its network' are different then the default DNS server is dropped. It is very easy to make this mistake and very hard to figure out that is the problem! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1304437 Title: After connecting to OpenVPN server the default DNS is no longer available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1304437/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1304437] Re: After connecting to OpenVPN server the default DNS is no longer available
For me, this seems to have been a case of VPN server misconfiguration going unnoticed until the recent fixes. Just in case you're in a position where somebody else is responsible for the server, or there's a different etiology, checking IPv6 [+] use this connection only for resources on its network (as suggested by darkk) also works for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1304437 Title: After connecting to OpenVPN server the default DNS is no longer available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1304437/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1304437] Re: After connecting to OpenVPN server the default DNS is no longer available
I faced same issue. My setup is: IPv4 [+] use this connection only for resources on its network IPv6 [-] use this connection only for resources on its network I get `REFUSED` when I try to run `dig google.com.` and I see following at /var/log/syslog: May 12 21:54:45 localhost NetworkManager[19137]: Writing DNS information to /sbin/resolvconf May 12 21:54:45 localhost dnsmasq[19070]: setting upstream servers from DBus ... May 12 21:54:45 localhost dnsmasq[19070]: using nameserver 213.180.205.1#53 for domain yandex.net May 12 21:54:45 localhost NetworkManager[19137]: VPN plugin state changed: started (4) When I change setup to: IPv4 [+] use this connection only for resources on its network IPv6 [+] use this connection only for resources on its network I can resolve non-VPN domain names and non-specific nameserver is mentioned at the /var/log/syslog too: May 12 21:58:20 localhost dnsmasq[19070]: setting upstream servers from DBus ... May 12 21:58:20 localhost dnsmasq[19070]: using nameserver 213.180.205.1#53 for domain yandex.net May 12 21:58:20 localhost dnsmasq[19070]: using nameserver 192.168.42.1#53 < that one :) May 12 21:58:20 localhost dbus[840]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1304437 Title: After connecting to OpenVPN server the default DNS is no longer available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1304437/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1304437] Re: After connecting to OpenVPN server the default DNS is no longer available
Guys, Please, ignore my latest message, I just enabled the option: Edit "VPN Connection 1" -> "IPv4 Settings" -> Routes... -> "[X] Use this connection only for resources on this network". Sorry about the buzz... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1304437 Title: After connecting to OpenVPN server the default DNS is no longer available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1304437/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1304437] Re: After connecting to OpenVPN server the default DNS is no longer available
I'm facing this problem too... And one more... The `network-manager-openvpn` on Trusty is replacing the "default route" of my Ubuntu Desktop to the VPN tunnel! This way, I am unable to browse the Internet after stablishing the OpenVPN connection through NetworkManager... No idea about how to change this behavior... Tips?! Tks! Thiago -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1304437 Title: After connecting to OpenVPN server the default DNS is no longer available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1304437/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1304437] Re: After connecting to OpenVPN server the default DNS is no longer available
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: network-manager-openvpn (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1304437 Title: After connecting to OpenVPN server the default DNS is no longer available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1304437/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1304437] Re: After connecting to OpenVPN server the default DNS is no longer available
One more comment: I had a leftover IPv6 config on the server, which basically ment it was enabled but not really used. After disabling it (commenting out all "server-ipv6") everything works as it used to, just without IPv6. I've noticed now what I missed before, in syslog (again, parts removed): Apr 18 09:42:10 msylw-imac NetworkManager[1152]: IPv4 configuration: Apr 18 09:42:10 msylw-imac NetworkManager[1152]:Forbid Default Route: yes Apr 18 09:42:10 msylw-imac NetworkManager[1152]: IPv6 configuration: Apr 18 09:42:10 msylw-imac NetworkManager[1152]:Forbid Default Route: no My guess is that the ipv6 config also prevented the "old" default dns from being used for ipv4. I have no idea whether it makes sense to have forbid default route for ipv4 but not for ipv6, and whether this should stay here or be considered configuration error. BTW: I'm currently using kubuntu, and it lacks the dialog for configuring ipv6 for openvpn. If this would be considered invalid configuration then perhaps this has to be redirected as gui problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1304437 Title: After connecting to OpenVPN server the default DNS is no longer available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1304437/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1304437] Re: After connecting to OpenVPN server the default DNS is no longer available
2 more observations: - After upgrading saucy to trusty: I have the same problem - Downgrading network-manager-openvpn to saucy version (0.9.8.2-1ubuntu2) fixed the problem. It seems that the IPv6 patches somehow broke IPv4 for me, but I wasn't able to figure out why... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1304437 Title: After connecting to OpenVPN server the default DNS is no longer available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1304437/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs