+++ This bug was initially created as a clone of Bug #1367772 +++ Description of problem: I have NetworkManager on my laptop configured to run dnsmasq for DNS caching: $ cat /etc/NetworkManager/NetworkManager.conf [main] plugins=ifcfg-rh dns=dnsmasq If I put my laptop to sleep, then wake it up and re-connect to the VPN, the dnsmasq process does not get updated with the new DNS information for the VPN. I have to kill dnsmasq and let NM launch a new process in order for DNS to work. $ ping host.inside.vpn.com ping: host.inside.vpn.com: Name or service not known $ pgrep -laf dnsmasq 15451 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts ... $ sudo kill 15451 $ pgrep -laf dnsmasq 19317 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts ... $ ping host.inside.vpn.com PING host.inside.vpn.com (10.1.2.3) 56(84) bytes of data. 64 bytes from host.inside.vpn.com (10.1.2.3): icmp_seq=1 ttl=252 time=62.2 ms ... Version-Release number of selected component (if applicable): NetworkManager-1.4.0-0.5.beta1.el7.x86_64 NetworkManager-openvpn-1.0.8-1.el7.x86_64 dnsmasq-2.66-17.el7.x86_64 How reproducible: always Steps to Reproduce: 1. connect to VPN, work for a while, then put laptop to sleep 2. resume laptop, re-connect to VPN Actual results: the VPN is connected, but DNS lookups for hosts inside the VPN fail Expected results: DNS for VPN hosts works Additional info: ---------- See bug 1367772 for more details. Another report also in https://bugzilla.redhat.com/show_bug.cgi?id=1338731#c20
I see that the fix for the corresponding RHEL bug is now VERIFIED. Any ETA on a fixed Fedora package?
I can't speak for regular Fedora builds. But https://copr.fedorainfracloud.org/coprs/larsks/dnsmasq/ were working fine for me as a workaround.
*** Bug 1377680 has been marked as a duplicate of this bug. ***
*** Bug 1377886 has been marked as a duplicate of this bug. ***
*** Bug 1382898 has been marked as a duplicate of this bug. ***
+1 to the builds pointed to by Jan.
Pavel, would it be possible to update Fedora packages with the fix?
*** Bug 1390834 has been marked as a duplicate of this bug. ***
dnsmasq-2.76-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-139a004954
dnsmasq-2.76-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c72c2c5531
dnsmasq-2.76-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c72c2c5531
dnsmasq-2.76-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-139a004954
dnsmasq-2.76-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
I updated to dnsmasq-2.76-2.fc24 and rebooted. The bug still persists for me -- when I close my laptop and reopen it, the network doesn't come back up. "sudo killall -HUP NetworkManager" does make it start working again. I would reopen this bug but I have insufficient permissions.
Reopening for Tom per comment 14.
Thanks for reopening this. I've noticed since then that the situation has improved. It no longer fails reliably -- so that's quite nice. I'd say it's something like 1 out of 10 times now (I didn't try to really measure). Next time it fails I will try to remember to capture the logs.
Also seems to reproduce on Fedora 25, with dnsmasq-2.76-1.fc25.x86_64
(In reply to David Gibson from comment #17) > Also seems to reproduce on Fedora 25, with dnsmasq-2.76-1.fc25.x86_64 dnsmasq-2.76-1.fc25 doesn't include the fix for this bug. Can you please try dnsmasq-2.76-2.fc25, perhaps from the updates-testing repo?
dnsmasq-2.76-2.fc25 doesn't seem to be in updates-testing yet, so I pulled it from Koji. So far so good.
dnsmasq-2.76-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-538430598e
dnsmasq-2.76-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
dnsmasq-2.76-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-538430598e
dnsmasq-2.76-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.