Use at your own risk The author is not responsible, the program uses the MIT license.
This is a DNS Leak Checker Tool designed to help you detect DNS leaks. It queries multiple DNS servers and checks whether the IP address returned matches the expected one. This tool is useful to ensure that your DNS requests are routed through the proper servers, preventing any possible privacy violations due to DNS leaks.
- Checks DNS responses from various servers.
- Detects DNS leaks and identifies mismatches in expected IP addresses.
- Generates a detailed JSON report with all the information.
To run this tool, you'll need to have the following installed:
- Go 1.18+ (or newer) — for building and running the program.
Clone the repository:
git clone https://github.com/Batcherss/dns-leaker.git
Navigate to the project folder:
cd dns-leaker
or
go install github.com/Batcherss/dns-leaker@latest
To use the DNS Leak Checker Tool, run the following command:
- -s = site (domen) input
- -d = debug (optional)
- -f = file to output (optional , standart enabled)
go run main.go -s <domain_or_ip>
or
dns-leaker -s exmp.com -d -f texter.txt
Replace <domain_or_ip> with the domain name or IP address you'd like to check for DNS leaks. This command will check DNS responses for example.com and print any issues found with DNS resolution.