macvk/dnsleaktest
macvk/dnsleaktest has 598 GitHub stars and 70 forks. GitHot measured +1 stars in 24 hours and +2 in 7 days. Last checked 2026-11-24 00:13 UTC. Last push 2026-10-22.
측정된 스타 증가
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
An open source script tests VPN connection for DNS Leak.
보안README.md
OriginalDNS Leak Test
This tool reports your external IP address and the DNS servers used by your connection. If their network providers differ unexpectedly, your DNS traffic may be leaking outside the intended connection or VPN.
Linux and macOS
How to install and use the shell version
Please, before use make sure you have curl and ping installed.
- Download
dnsleaktest.shfrom the master branch:
curl -fLO https://raw.githubusercontent.com/macvk/dnsleaktest/master/dnsleaktest.sh
chmod +x dnsleaktest.sh
- Run it:
./dnsleaktest.sh
How to install and use the Python version
- Download
dnsleaktest.pyfrom the master branch:
curl -fLO https://raw.githubusercontent.com/macvk/dnsleaktest/master/dnsleaktest.py
chmod +x dnsleaktest.py
- Run it:
./dnsleaktest.py
Windows
How to install and use the batch file
- Download
dnsleaktest.batfrom the master branch:
Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/macvk/dnsleaktest/master/dnsleaktest.bat -OutFile dnsleaktest.bat
- Run
dnsleaktest.bat:
dnsleaktest.bat
Prebuilt Go executables
Version 1.4 executables are built by GitHub Actions and published on the v1.4 release page.
Linux
After downloading the correct executable for your system:
chmod +x dnsleaktest-linux-amd64
./dnsleaktest-linux-amd64
macOS
The macOS executables are unsigned. macOS may ask you to confirm that you want to run a downloaded executable.
Windows
Open Command Prompt, navigate to the download directory, and run the downloaded executable.
Build from source
Install Go, then select the target operating system and architecture. Examples:
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o dnsleaktest-linux-amd64 dnsleaktest.go
GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -o dnsleaktest-darwin-arm64 dnsleaktest.go
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -o dnsleaktest-windows-amd64.exe dnsleaktest.go
How to run from Docker
Linux
docker run --rm --network host python:alpine sh -c 'wget -q -O- https://raw.githubusercontent.com/macvk/dnsleaktest/master/dnsleaktest.py | python'
macOS and Windows
docker run --rm python:alpine sh -c 'wget -q -O- https://raw.githubusercontent.com/macvk/dnsleaktest/master/dnsleaktest.py | python'
관련 프로젝트 살펴보기
불러오는 중…