You are not logged in.

#1 2020-12-29 09:50:45

Der Chefkoch
Member
Registered: 2020-12-05
Posts: 11

[SOLVED] DNS Leaks with Wireguard

While playing around with my Wireguard setup and looking into more minor issues to fix, I came around one thing more problematic now: I observed possible DNS leaks while the Wireguard connection is up. (e.g. from doileak.com, dnsleaktest.com)

It assume that my Arch is using both the DNS of the Wireguard server (setup on Raspberry Pi with Unbound) and the underlying WiFi connection. NetworkManager and systemd-resolved are running on this system with the Firefox browser.

I use my Wireguard Server with another device, no DNS leaks there.

I did not find anything regarding such cases in the wiki, anybody could guide me to find the cause of these leaks?

Last edited by Der Chefkoch (2020-12-29 20:15:05)


Arch Linux w/ Budgie | Dell XPS 13 9300 (2020)
Display 13.4", 1920x1200, 169dpi, 60Hz, non-glare, IPS, 500cd/m²
CPU Intel Core i7-1065G7, 4x 1.30GHz | RAM 16GB LPDDR4X-3733 | SSD 512GB M.2 PCIe 3.0 x4 (2280)
Wireless WLAN 802.11a/b/g/n/ac/ax (2x2, Killer Wi-Fi 6 AX1650s), Bluetooth 5.0

Offline

#2 2020-12-29 15:58:06

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,208
Website

Re: [SOLVED] DNS Leaks with Wireguard

Something like this I would expect: https://wiki.archlinux.org/index.php/Op … _goes_down


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2020-12-29 19:09:56

Der Chefkoch
Member
Registered: 2020-12-05
Posts: 11

Re: [SOLVED] DNS Leaks with Wireguard

graysky wrote:

Something like this I would expect: https://wiki.archlinux.org/index.php/Op … _goes_down

Thanks for your feedback, but I can observe those leaks without drops in the connection?


Arch Linux w/ Budgie | Dell XPS 13 9300 (2020)
Display 13.4", 1920x1200, 169dpi, 60Hz, non-glare, IPS, 500cd/m²
CPU Intel Core i7-1065G7, 4x 1.30GHz | RAM 16GB LPDDR4X-3733 | SSD 512GB M.2 PCIe 3.0 x4 (2280)
Wireless WLAN 802.11a/b/g/n/ac/ax (2x2, Killer Wi-Fi 6 AX1650s), Bluetooth 5.0

Offline

#4 2020-12-29 20:14:36

Der Chefkoch
Member
Registered: 2020-12-05
Posts: 11

Re: [SOLVED] DNS Leaks with Wireguard

I think I found the issue, some DNS configuration evaded me in the ipv4 section of the  wg.nmconnection file:

dns-priority=-10
dns-search=~;

source: https://wiki.archlinux.org/index.php/Wi … orkManager

No DNS leaks with that now

Last edited by Der Chefkoch (2020-12-29 20:32:37)


Arch Linux w/ Budgie | Dell XPS 13 9300 (2020)
Display 13.4", 1920x1200, 169dpi, 60Hz, non-glare, IPS, 500cd/m²
CPU Intel Core i7-1065G7, 4x 1.30GHz | RAM 16GB LPDDR4X-3733 | SSD 512GB M.2 PCIe 3.0 x4 (2280)
Wireless WLAN 802.11a/b/g/n/ac/ax (2x2, Killer Wi-Fi 6 AX1650s), Bluetooth 5.0

Offline

Board footer

Powered by FluxBB