FS#47857 - [networkmanager] Enabling VPN disables DNS chaching
Attached to Project:
Arch Linux
Opened by Yousry Abdallah (yousry) - Friday, 22 January 2016, 08:49 GMT
Last edited by Toolybird (Toolybird) - Monday, 29 May 2023, 03:19 GMT
Opened by Yousry Abdallah (yousry) - Friday, 22 January 2016, 08:49 GMT
Last edited by Toolybird (Toolybird) - Monday, 29 May 2023, 03:19 GMT
|
Details
Description:
The Network Manager was configured according to: https://wiki.archlinux.org/index.php/Dnsmasq#NetworkManager After enabling a VPN connection DNS caching is disabled. Additional info: * package version(s) networkmanager Version: 1.0.10-2 networkmanager-openvpn Version: 1.0.8-1 dnsmasq Version: 2.75-1 * config and/or log files etc. cat /etc/NetworkManager/NetworkManager.conf ~ [main] plugins=keyfile dhcp=dhclient #dns=default dns=dnsmasq ## Set static hostname #[keyfile] #hostname=foobar ## HTTP-based connectivity check #[connectivity] #uri=http://nmcheck.gnome.org/check_network_status.txt #interval=100 Steps to reproduce: >dig archlinux.org ; <<>> DiG 9.10.3-P3 <<>> archlinux.org ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5238 ;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;archlinux.org. IN A ;; ANSWER SECTION: archlinux.org. 7095 IN A 66.211.214.131 ;; Query time: 5 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fr Jan 22 07:08:49 CET 2016 ;; MSG SIZE rcvd: 47 >nmcli c up 6999f30a-b19c-4404-af54-d1f5a403c6af VPN-Verbindung wurde erfolgreich aktiviert (aktiver D-Bus-Pfad: /org/freedesktop/NetworkManager/ActiveConnection/1) > dig archlinux.org ~ ; <<>> DiG 9.10.3-P3 <<>> archlinux.org ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31001 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;archlinux.org. IN A ;; ANSWER SECTION: archlinux.org. 8346 IN A 66.211.214.131 ;; Query time: 43 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Fr Jan 22 07:11:46 CET 2016 ;; MSG SIZE rcvd: 58 |
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 29 May 2023, 03:19 GMT
Reason for closing: No response
Additional comments about closing: Plus it's old and stale. If still an issue, please report upstream.
Monday, 29 May 2023, 03:19 GMT
Reason for closing: No response
Additional comments about closing: Plus it's old and stale. If still an issue, please report upstream.
Disabling the subscribers update in openresolv fixed the problem.
Workaround:
I added following line to /etc/resolvconf.conf:
...
resolvconf=NO
...
If the execution of resolvconf is the expected behavior this bug can be closed.