You are not logged in.

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

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

[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)

Offline

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

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
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: 100

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?

Offline

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

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

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)

Offline

Board footer

Powered by FluxBB