-1

I want to test that the connection from my local machine to my VPN is set up correctly, specifically that I do not have DNS leaks.

I am aware of web-based tools like dnsleaktest.com but they aren't suitable for repeated and/or scripted testing.

Is it possible to perform a local test for DNS leaks?

lofidevops
  • 3,550
  • 6
  • 23
  • 32

1 Answers1

1

DNSleak inspects DNS packets on the local network interface to detect leaks. Unlike web-based solutions, it works at the local computer level. No third party servers are used and DNS leak result is a true / false response. See the README for more details.

Installation instructions for Debian-based systems (usage instructions in README):

# download code
git clone https://github.com/emanuele-f/DNSleak.git

# install prerequisites
sudo apt install libpcap0.8-dev libndpi-dev pkg-config

# install from source
cd dnsleak
make
sudo make install PREFIX=/usr install

# basic usage
sudo dnsleak <interface>
lofidevops
  • 3,550
  • 6
  • 23
  • 32