[Error] DNS sometimes leak when side-tunneling #45
Unanswered
NanoCode012
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Hey @NanoCode012 - which client are you using? Windows? Mac? Something else? Also, can you validate your client's DNS servers (outside of the wireguard conf)? E.g. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This is mostly due to having multiple DNS servers on a single system (the
ones from WiFi/LAN and the one from Wireguard). Operating systems are in
charge of handling the behavior at this point.
I suspect you could re-configure your WLAN interface to use the 172.18.0.3
address.
It was talked about here:
https://www.reddit.com/r/WireGuard/comments/os6f36/wireguard_dns_leaks_with_windows_client/
and someone came up with a similar solution:
https://www.ovpn.com/en/blog/deactivate-smart-multi-homed-name-resolution-in-windows-8-8-1-and-10/
…On Sat, Feb 26, 2022 at 4:03 PM NanoCode012 ***@***.***> wrote:
Hello, it is Windows. I just tested on IOS with the configuration, and it
worked perfectly. I guess I will need to figure what's wrong with my PC.
For your second question, my Wifi adapter's DNS and wireguard DNS is seen
below. Both are private ips. I am on my university's network.
ipconfig /all
// wifi
DNS Servers . . . . . . . . . . . : 192.168.Y.X
192.168.Y.X
// Wireguard
DNS Servers . . . . . . . . . . . : 172.18.0.3
—
Reply to this email directly, view it on GitHub
<#45 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABIFRMOF5XKQIVQXAJ2OZ6DU5E5ZDANCNFSM5PMTTYZQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using
https://www.dnsleaktest.com/
, my DNS leaks very often for both standard and extended tests when using Wireguard DNS side-tunneling (aka the default conf files).vpnmode=dns
I took the conf file to made it a full VPN by setting AllowedIps to
0.0.0.0/0
and encountered no leaks on both standard and extended tests.I do not want to use a full VPN and only want the DNS tunneled by default as it should be. Does anyone else experience this issue?
I did not make any custom changes. The below is the conf I use for DNS tunneling with private info removed.
Beta Was this translation helpful? Give feedback.
All reactions