Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/macvk/dnsleaktest
An open source script tests VPN connection for DNS Leak.
https://github.com/macvk/dnsleaktest
dns dns-server leak-detection security vpn
Last synced: 7 days ago
JSON representation
An open source script tests VPN connection for DNS Leak.
- Host: GitHub
- URL: https://github.com/macvk/dnsleaktest
- Owner: macvk
- License: mit
- Created: 2018-06-21T10:18:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-07T20:21:17.000Z (8 months ago)
- Last Synced: 2024-10-17T06:24:49.148Z (27 days ago)
- Topics: dns, dns-server, leak-detection, security, vpn
- Language: Shell
- Homepage: https://bash.ws/dnsleak
- Size: 33.2 KB
- Stars: 443
- Watchers: 13
- Forks: 54
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.## Linux & macOS
### How to install & use Bash Version
Please, before use make sure you have `curl` and `ping` installed.
1. Download dnsleaktest.sh
```
curl https://raw.githubusercontent.com/macvk/dnsleaktest/master/dnsleaktest.sh -o dnsleaktest.sh
``````
chmod +x dnsleaktest.sh
```2. Run dnsleaktest.sh
```
./dnsleaktest.sh
```### How to install & use Python Version
1. Download dnsleaktest.py
```
curl https://raw.githubusercontent.com/macvk/dnsleaktest/master/dnsleaktest.py -o dnsleaktest.py
``````
chmod +x dnsleaktest.py
```2. Run dnsleaktest.py
```
./dnsleaktest.py
```-----------------------------------------------------
## Windows
### How to install & use batch file
1. Download dnsleaktest.bat
```
powershell -command "& { (New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/macvk/dnsleaktest/master/dnsleaktest.bat', 'dnsleaktest.bat') }"
```2. Run dnsleaktest.bat
```
dnsleaktest.bat
```-----------------------------------------------------
## How to build & use Golang Version
You can use prebuilt executable binary for Linux, MacOs or Windows [created by travis-ci.org](https://github.com/macvk/dnsleaktest/releases/):
### Linux & macOS
1. Download [dnsleaktest v1.3](https://github.com/macvk/dnsleaktest/releases/download/v1.3/dnsleaktest)
```
chmod +x dnsleaktest
```2. Run dnsleaktest
```
./dnsleaktest
```### Windows
1. Download [dnsleaktest.exe v1.3](https://github.com/macvk/dnsleaktest/releases/download/v1.3/dnsleaktest.exe)
2. Run dnsleaktest.exe,
open cmd then navigate to the exe file
```
dnsleaktest.exe
```### Or build binaries in your machine
1. Linux & macOS
```
GOOS=linux GOARCH=386 go build -o dnsleaktest dnsleaktest.go```
2. Windows```
GOOS=windows GOARCH=386 go build -o dnsleaktest.exe dnsleaktest.go```
## How to run from Docker
It is possible to run the Python version using Docker with the following one-liner:
```
docker run python:alpine sh -c 'wget -q -O- https://raw.githubusercontent.com/macvk/dnsleaktest/master/dnsleaktest.py | python'
```