I have been running OpenVPN within 16.04 for some time and didn't have
any DNS issues to begin with, even though I wasn't calling any scripts
such as /etc/openvpn/update-resolv-conf via the up/down commands in my
configuration; it just worked.
Something must have changed through updates however,
I can confirm this issue in 16.04, removing resolvconf and commenting
out dns=dnsmasq in NetworkManager.conf resolves the issue. I configured
openVPN using NetworkManager.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to
LinuxMint 18.1 Serena NM 1.2.6-0ubuntu0.16.04.1 affected.
Workaround in comment #44 works.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/1169437
Title:
Ubuntu 16.04 here.
Workaround #42 works for me, workaround #44 doesn't (restarted the
service without rebooting).
Thanks!
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-openvpn in Ubuntu.
LinuxMint Rebecca 17.1 (Ubuntu 14.04) NM 0.9.8.8 effected.
I am also using comment #44 workaround to kill dnsmasq.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-openvpn in Ubuntu.
Still here in Ubuntu 16.04. icesmurf's solution (comment #44) works for
me.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/1169437
Title:
network-manager does not
cat << EOF > /etc/network/if-up.d/zz_restart_dnsmasq
#!/bin/bash
if [[ "\$IFACE" =~ [^tun] ]]; then
sleep 2
logger "** Restarting DNSMASQ process because funky network manager
crappyness"
kill \`cat /var/run/NetworkManager/dnsmasq.pid\`
fi
EOF
chmod 755
NEvermind my previous patch, for some reason it works on a VM, and on my
desktop, but not on my work laptop will have to investigate more
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-openvpn in Ubuntu.
I just observed this on a laptop using network-manager-vpnc-gnome.
The DNS is correctly received via vpnc and added to NetworkManager, but
not being handled by dnsmasq.
nmcli -f IPv4 c show 820e9fe8-8ae6-4f69-ba85-402936c38852 |grep -i dns
ipv4.dns: AA.BB.CC.DD
Add this patch to debian/patches/
Add it to series after Support-IPv6-Servers.patch
Add usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper-script
to network-manager-openvpn.install
Rebuild package and test.
Although this is an ugly hack, it is working for me without modifying
nsswitch
I can confirm the issue with VPNC in Kubuntu 16.10 and vpnc
0.5.3r550-2build1. Comment out dnsmasq seems to work.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/1169437
I confirm that the bug is still present in Ubuntu 16.10 with OpenVPN
2.3.11.
If an additional DNS server is specified in the VPN IPv4 settings of
NetworkManager, the name resolution is completely lost, unless the
workaround of not-using dnsmasq is used (see
Vincent: Which VPN client are you using?
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/1169437
Title:
network-manager does not configure local resolver or dnsmasq to
I also have this issue on 16.04 and commenting out the dnsmasq line does not
always work.
For some reason /etc/resolv.conf does NOT contain the proper DNS entries, nor
the search.
If I add that manually it even gets overriden every now and then it seems.
The save button on the network manager
You may be encountering a new problem. For background read this thread:
https://lists.ubuntu.com/archives/ubuntu-devel/2016-May/039350.html
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-openvpn in Ubuntu.
For me the DNS server is also not configured properly. I'm using Ubuntu
16.10, NetworkManager OpenVPN plugin, I have specified the DNS server in
the IPV4 tab explicitly, yet it is apparently not used to resolve
addresses. The DNS server itself works when asked from "host". The VPN's
"Use this
QkiZ: Can you please provide details of the malfunction in your case?
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/1169437
Title:
network-manager does not configure
Ubuntu 16.10 has still this issue.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/1169437
Title:
network-manager does not configure local resolver or dnsmasq to use
18 matches
Mail list logo