# DNS leak test

The test shows DNS leaks and your external IP. If you use the same ASN for DNS and connection - you have no leak, otherwise here might be a problem.

Homepage
https://bash.ws/dnsleak
Github Repo
https://github.com/macvk/dnsleaktest
Gitea Mirror
https://git.fuw.app/beeble/dnsleaktest

# Installation and Usage

Download the script:

curl https://raw.githubusercontent.com/macvk/dnsleaktest/master/dnsleaktest.sh -o dnsleaktest.sh

Make it executable:

chmod u+x dnsleaktest.sh

Run it:

./dnsleaktest.sh
# Example output
Your IP:
10.1.0.42 [Atlantis, Fake Inet Corp.]

You use 1 DNS server:
10.1.0.1 [Atlantis, Fake Inet Corp.]

Conclusion:
DNS is not leaking.