Skip to content

DNS Leak Test v1.0.3

Choose a tag to compare

@github-actions github-actions released this 25 Oct 23:06

πŸš€ 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 x64
Windows x86 Windows x86
Linux x64 Linux x64
Linux x86 Linux x86
macOS x64 macOS x64
macOS ARM64 macOS ARM64
Android ARM64 Android ARM64
Android ARMv7a Android ARMv7a
Android x86 Android x86
Android x86_64 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-*.exe

The tool will:

  1. Obtain a test ID from bash.ws
  2. Perform fake DNS lookups
  3. Analyze the results
  4. Display your IP, DNS servers, and leak status
  5. 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-arm64

Solution 2: Set certificate file directly

SSL_CERT_FILE=$PREFIX/etc/tls/cert.pem ./dnsleak-android-arm64

Solution 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.