VPN Question about DNS Leaks and plugging them

February 17, 2018 521 views
VPN DNS Applications Server Optimization Ubuntu 16.04

Setup ALGO to run on a small server on DO.

Working on locking down DNS Leaks by running terminal checks, flushing DNS Cache, running checks through DNS leak test and whoer.net

Obviously Chrome is out of use because of WebRTC leaks and can't be shut off, but testing through Safari and Firefox I think DNS is still leaking.

My expectation is that if the server I setup on DO through ALGO is say and my local machines IP is that all traffic would route through the ALGO VPN and no other IP addresses would show up. However, using Firefox and Safari I still see a bunch of DNS show up with addresses like. (which traces to Google) (which traces to Google) (which traces to Google) (which traces to Google) (which traces to Google) (which traces to Google)

If a VPN is working properly the only address that should show up is the one running on ALGO server at the address.

Could this be a plugin that's leaking? I have HTTPS Everywhere running and a few others? What else could it be?

2 Answers
kamaln7 MOD February 20, 2018
Accepted Answer

It looks like Algo is configuring dnsmasq to relay requests to Google's DNS servers by default: https://github.com/trailofbits/algo/blob/d8f0393dd8d9a88fe72dec47f0290e9990e9e125/config.cfg#L32

That might be why you're seeing those IP addresses that are owned by Google. What I would suggest is replacing Google's DNS resolvers with, for example, OpenDNS's and seeing what happens then.

Thanks @kamaln7 . That's a good catch. I also was playing with all the telemetry settings in Firefox as well. When I did so in one of my tests DNS leaks weren't happening when I checked using whoer.net another site that looks for leaks though is https://www.dnsleaktest.com/ and that still had the google servers. Apparently Firefox has a lot of telemetry data on by default. I wish it was easier to just turn it all off.

I also caught quite a few plugins that I use that are pinging Google too.

I'll take your answer and post it to the community issue forum for Algo and see what they say and then update this thread with any response in case anyone else is curious about DNS leaks.

Have another answer? Share your knowledge.