AnswerBun.com

Potential DNS leak with openVPN on Linux

Super User Asked by nox on December 4, 2020

I have setup my own OpenVPN server. I push all traffic through the VPN with redirect-gateway def1 bypass-dhcp. For test purposes I use the Google DNS 8.8.8.8. I double-checked that /etc/resolv.conf just contains this DNS, ip route show seems to give correct results, traceroute shows the traffic is routed via my OpenVPN server. So I thought I am setup for success until I checked for DNS leaks (using ipleak.net with Firefox). This website shows me many Google IPs that my DNS is distributed to for load-balancing (see this answer), which is normal, but all of them are in the wrong country, near my current real location and not near my OpenVPN server.

So my question is: How does Google know and why do I get those servers? If I traceroute those, I can see the connection is routed via my OpenVPN.

edit: With Chromium, freshly installed, this did not occur at first, just local IPs around my server, but with a second try, it was the same result.

Add your own answers!

Related Questions

Establish OpenVPN connection to server behind carrier grade NAT

1  Asked on November 18, 2021 by simplex123

         

grub rescue error: symbol ‘grub_strchrnul’ not found

1  Asked on November 18, 2021 by fahad-alduraibi

       

What is a NBN “FTTC Connection Device”?

2  Asked on November 18, 2021 by jmcph4

     

Get error while opening Zoom

0  Asked on November 18, 2021 by mohamed-nazeek

 

How to make neofetch run instantly?

1  Asked on November 18, 2021 by i28v

   

VMWare Not Starting even with Device Guard Disabled

0  Asked on November 18, 2021 by 3therk1ll

   

Do Motherboards limit RAM per stick?

1  Asked on November 18, 2021 by johhny-johnny

 

Plesk (or similar) admin panel for NodeJS hosting

1  Asked on November 16, 2021 by ruben-rutten

     

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir