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 Ubuntu
Bugs, which is subscribed to Ubuntu.
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1169437
Title:
network-manager does not configure local
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1169437
Title:
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1169437
Title:
network-manager does not configure local resolver or dnsmasq
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1169437
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1169437
Title:
network-manager does
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1169437
Title:
network-manager does not configure local resolver or dnsmasq to use
the nameserver addresses
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1169437
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1169437
Title:
network-manager does not configure local resolver or dnsmasq to
Ubuntu 16.10 has still this issue.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1169437
Title:
network-manager does not configure local resolver or dnsmasq to use
the nameserver addresses
Looks like 16.04 still has this issue. See bug
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/120
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1169437
Title:
network-manager does not
Running 15.10. Issue still persists. Commenting out dns=dnsmasq, and
specifying additional DNS servers for VPN connection works for me.
ii network-manager 1.0.4-0ubuntu5.2amd64
network management framework (daemon and userspace tools)
ii network-manager-gnome
This bug seems old, but the discussion seems to go on even years after it's
been marked as "Fixed".
This bug perfectly describes what started happening after upgrading to Ubuntu
15.10
/var/log/syslog says
Nov 24 01:07:46 XXX NetworkManager[777]: Internal DNS: 10.0.0.1
Nov 24 01:07:46 XXX
> I put it to you that this design is defective if it does not consider
this important use case.
If that is an important use case then of course it should be supported.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
hashstat (hashstat) wrote on 2013-12-24 in comment #17:
> NetworkManager is prepending /domain/ strings to the returned DNS servers so
> that they are only used for the local domain. Remaining queries are falling
> to the bottom two servers, which are the original pre-VPN DNS servers, for
> which
network-manager-openvpn-gnome
0.9.8.2-1ubuntu4
The same problems:
1. additional DNS from server are ignored
2. static DNS in NM (Network Manager) configuration is also ignored
So, I use usual console openvpn and it works fine.
BTW, how can I confugure NM not to save key passphrase and always
This is still an issue for me in 14.04.2 LTS
Package Versions
network-manager 0.9.8.8-0ubuntu7.1
network-manager-gnome 0.9.8.8-0ubuntu4.3
network-manager-openvpn 0.9.8.2-1ubuntu4
network-manager-openvpn-gnome 0.9.8.2-1ubuntu4
Disabling dns=dnsmasq does fix it
--
You received this bug
** Summary changed:
- network-manager dnsmasq openvpn DNS issue
+ network-manager does not configure local resolver or dnsmasq to use the
nameserver addresses received from the VPN server
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
25 matches
Mail list logo