DNS Leak Test v1.0.3
π DNS Leak Test Release
A Go application to test for DNS leaks. This tool checks if your DNS queries are being routed through your ISP or if they're being securely routed through your VPN or DNS service.
β¨ Features
- π Tests for DNS leaks
- π¨ Colorful terminal interface
- π₯οΈ Cross-platform support (Windows, macOS, Linux, Android/Termux)
- ποΈ Clean, modular architecture
π Changes in this Release
- Cross-platform support with GitHub Actions builds
- Added colorful terminal interface using github.com/fatih/color
- Implemented API client for bash.ws
- Created modular architecture with internal packages
π» Installation
From Binary (Recommended)
Download the appropriate binary for your platform from the table below and run it directly.
From Source
git clone https://github.com/code3-dev/dnsleak.git
cd dnsleak
go build .
./dnsleak # or dnsleak.exe on Windowsβ¬οΈ Download
| Platform | Architecture | Download |
|---|---|---|
| Windows | x64 | |
| Windows | x86 | |
| Linux | x64 | |
| Linux | x86 | |
| macOS | x64 | |
| macOS | ARM64 | |
| Android | ARM64 | |
| Android | ARMv7a | |
| Android | x86 | |
| Android | x86_64 |
π οΈ Usage
Simply download the appropriate binary for your platform and run it:
# Linux/macOS/Android(Termux)
chmod +x dnsleak-*
./dnsleak-*
# Windows (PowerShell/CMD)
.\dnsleak-*.exeThe tool will:
- Obtain a test ID from bash.ws
- Perform fake DNS lookups
- Analyze the results
- Display your IP, DNS servers, and leak status
- Prompt for retry (r) or quit (q) after completion or error
π± Android/Termux Usage
For Android devices, you'll need to install Termux
Setup script to easily install DNSLeak in Termux on Android.
https://github.com/code3-dev/dnsleak-termux
π§ SSL Certificate Fix for Termux:
If you encounter TLS certificate verification errors on Termux, try one of these solutions:
Solution 1: Update certificates
pkg update && pkg upgrade
pkg install ca-certificates openssl-tool
export SSL_CERT_FILE=$PREFIX/etc/tls/cert.pem
./dnsleak-android-arm64Solution 2: Set certificate file directly
SSL_CERT_FILE=$PREFIX/etc/tls/cert.pem ./dnsleak-android-arm64Solution 3: Bypass certificate verification (less secure)
DNSLEAK_INSECURE=true ./dnsleak-android-arm64π File Integrity
All binaries are built using GitHub Actions with CGO disabled for maximum portability and security. You can verify the SHA256 checksums of downloaded files if needed.