[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2017-04-06 Thread Aron Xu
*** This bug is a duplicate of bug 1639776 *** https://bugs.launchpad.net/bugs/1639776 ** This bug has been marked a duplicate of bug 1639776 dnsmasq fails to send queries out after suspend disconnects the interface -- You received this bug notification because you are a member of Ubuntu

[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2017-03-12 Thread icesmurf
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

[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2017-02-15 Thread Daniel
I had to uninstall the package "dnsmasq" because I had problems resolving the domains that should work (eg youtube) even with the vpn disconnected, it had weird behavior. I continue restarting the service "network-manager" to be able to reconnect correctly to the vpn. -- You received this bug

[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2017-02-13 Thread Daniel
I have the same issue (Kubuntu 16.10 + Backports). I solved it by installing the "dnsmasq" package. I had only "dnsmasq-base" installed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1644098 Title:

[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2016-12-07 Thread Till Schäfer
The bug is cause by a dnsmasq bug described in the following bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1367772 and is fixed by applying the following path to dnsmasq (2.76): http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=2675f2061525bc954be14988d64384b74aa7bf8b **

[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2016-12-07 Thread Colin Law
I don't know whether it is significant but I notice in syslog that for the second connection to the vpn I see the additional line systemd-resolved[1001]: Using degraded feature set (UDP+EDNS0+DO) for DNS server 127.0.1.1. and I notice that a similar message is present in the log in comment #1

[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2016-12-05 Thread Till Schäfer
upstream bug report: https://bugzilla.gnome.org/show_bug.cgi?id=775655 ** Bug watch added: GNOME Bug Tracker #775655 https://bugzilla.gnome.org/show_bug.cgi?id=775655 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2016-12-05 Thread Till Schäfer
I have the same issue on Gentoo using NetworkManager 1.4.0 and networkmanager-openvpn 1.2.6. -> seems to be an upstream issue the interesting part here is, that the log files still show an update to dnsmasq in during the second connection attempt: Dez 05 17:04:22 somecomputername

[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2016-11-23 Thread WalterNicholls
FWIW on my laptop (16.10) DNS queries are working as I wish it (ie "correctly"). With VPN disconnected all queries are going to the home router (192.168.33.1), queries for eg amachine.csl are sent there and come back NXDOMAIN. With VPN connected, queries on .csl are going to the remote VPN

[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2016-11-23 Thread WalterNicholls
Looks like finding out what DNS server is *asked* about a query (add log-queries to dnsmasq.conf) is going to require another reboot : if I restart NetworkManager then the VPN connection will also restart .. circular reference to this bug again. I can't afford to keep doing this during a work

[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2016-11-23 Thread WalterNicholls
Re "if you are using a VPN service for privacy purposes" - I have a contrary use case. I want to use my home router as much as possible, and the VPN (which may be my office network, or more critically a client's network) *only* for traffic required to go there. My understanding was that this

[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2016-11-23 Thread Andrea Lazzarotto (Lazza)
I confirm the issue. One detail that should be noted is that during the first connection DNS works, but it leaks! I.e. if you are using a VPN service for privacy purposes you'd expect NM to pick up the DNS settings from the VPN provider (like openvpn from terminal does) and don't use your home

[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2016-11-23 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: network-manager (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/1644098

[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2016-11-22 Thread WalterNicholls
/etc/NetworkManager/NetworkManager.conf contains: [main] plugins=ifupdown,keyfile,ofono dns=dnsmasq [ifupdown] managed=false (There are various posts floating around to the effect that 'dns=dnsmasq' should be commented out. However this is how the Ubuntu install set it so assuming that either

[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2016-11-22 Thread WalterNicholls
Finally see Bug #120 particularly the later (November 2016) comments -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1644098 Title: Network Manager + OpenVPN does not respond to DNS server

[Bug 1644098] Re: Network Manager + OpenVPN does not respond to DNS server change on second connection attempt

2016-11-22 Thread WalterNicholls
Remote VPN is pfSense 2.3.2 >From syslog, expurgated (but not tampered with, no real secrets here): :: Here's the WiFi coming up (showing local LAN) :: Nov 23 19:06:41 rukbat dhclient[2169]: DHCPACK of 192.168.33.117 from 192.168.33.1 Nov 23 19:06:41 rukbat NetworkManager[1216]: