DNS Leak Test Dashboard
DNS-MNS includes a comprehensive DNS leak test dashboard inspired by dnsleaktest.com. The web dashboard features a modern purple-themed design matching the TUI’s visual identity, with real-time WebSocket updates, dark/light themes, and expanded leak detection capabilities.What’s New in v7.0.0
Web Dashboard
Beautiful web interface with real-time WebSocket updates at
http://localhost:8080Dark/Light Theme
Toggle between dark and light modes with persistent preference
42 DNS Resolvers
Expanded from 12 to 42 resolvers for comprehensive testing
Privacy Score
0-100 score based on leak detection results
IPv6 Leak Test
Detect IPv6 traffic bypassing your VPN
WebRTC Leak Test
Identify browser-based IP leaks
Test History
SQLite-based persistent history with trends
Export Options
Export results as HTML, JSON, or Markdown
Quick Start
TUI Mode (Default)
Web Dashboard Mode
JSON Output Mode
Web Dashboard Features
Interface Overview
The web dashboard provides a modern, responsive interface with:- Privacy Score Ring: Visual 0-100 score with color coding
- Connection Info: Public IP, ISP, ASN, location, hostname
- DNS Resolver Table: 42 resolvers with status, detected IP, and latency
- Latency Charts: Visual comparison of resolver response times
- Advanced Tests: IPv6, WebRTC, and EDNS leak detection
- Test History: Previous test results with statistics
Theme Toggle
Click the moon/sun icon in the top-right corner to switch between dark and light modes. Your preference is saved in browser localStorage.- Dark Mode
- Light Mode
- Background:
#0a0812(deep violet-black) - Cards:
#1a1628(dark purple) - Text:
#f0ecf7(soft white) - Accent:
#a78bfa(vibrant lavender)
Exporting Results
Click the HTML or JSON buttons to download a report:- HTML: Formatted report suitable for sharing or printing
- JSON: Raw data for programmatic processing
- Markdown: Documentation-friendly format (via API)
TUI Dashboard Controls
| Key | Action |
|---|---|
r | Run/refresh test |
Tab / Shift+Tab | Switch between tabs |
1-4 | Quick navigate to tab |
e | Export results |
h | Toggle history view |
q / Esc / Ctrl+C | Quit |
TUI Tabs
- Overview: Connection info, summary, and status
- Resolvers: Detailed resolver test results table
- Advanced: IPv6, WebRTC, and EDNS test results
- History: Previous test results and statistics
Understanding Results
Privacy Score
The privacy score (0-100) is calculated based on:| Score | Status | Meaning |
|---|---|---|
| 90-100 | 🟢 Excellent | No leaks detected, strong privacy |
| 70-89 | 🟡 Good | Minor issues, generally secure |
| 50-69 | 🟠 Fair | Moderate concerns, some leaks detected |
| 0-49 | 🔴 Poor | Significant leaks, immediate action needed |
- Start: 100 points
- DNS leak: -30 points
- IPv6 high-risk leak: -25 points
- WebRTC leak: -20 points
- Multiple unique IPs: -5 each
- EDNS privacy risk: -5 to -10 points
Connection Information
| Field | Description |
|---|---|
| Public IP | Your visible IP address |
| ISP | Internet Service Provider name |
| ASN | Autonomous System Number |
| Location | Detected city and country |
| Timezone | Your timezone |
| Hostname | Reverse DNS lookup result |
DNS Resolver Results
The dashboard tests against 42 DNS resolvers including:- Global
- Privacy
- Iran/Middle East
- Asia
- Cloudflare (1.1.1.1, 1.0.0.1)
- Google (8.8.8.8, 8.8.4.4)
- Quad9 (9.9.9.9, 149.112.112.112)
- OpenDNS (208.67.222.222, 208.67.220.220)
Leak Status
| Status | Meaning |
|---|---|
| ✅ No Leak | All resolvers see the same IP |
| 🔴 DNS Leak | Different resolvers see different IPs |
| 🟡 IPv6 Leak | IPv6 traffic bypassing VPN |
| 🟠 WebRTC Leak | Browser exposing real IP |
Advanced Leak Tests
IPv6 Leak Test
Detects if your IPv6 traffic is bypassing the VPN tunnel:WebRTC Leak Test
Checks if your browser is exposing your real IP via WebRTC:EDNS Client Subnet
Tests if your DNS queries include subnet information that reduces privacy:API Endpoints
When running in web mode, the following API is available:| Endpoint | Method | Description |
|---|---|---|
/ | GET | Web dashboard |
/ws | WS | WebSocket for real-time updates |
/api/test | POST | Run new test |
/api/result | GET | Get latest result |
/api/history | GET | Get test history |
/api/export?format=json|html|md | POST | Export results |
JSON Export Format
Troubleshooting
”Test failed: JSON parse error”
The API returns NDJSON (newline-delimited). The dashboard handles this automatically. If you see this error, try refreshing the page.”All resolvers failed”
- Check internet connection
- Verify DNS works:
nslookup google.com - Check firewall rules
”Privacy Score is 0”
This is valid for severe leak situations. Check:- Is your VPN actually connected?
- Are you using split tunneling?
- Is IPv6 disabled?
WebSocket connection fails
- Check if port is already in use
- Try a different port:
--port 9090 - Check browser console for errors
The dashboard requires internet access to test against public DNS resolvers.
It does not work in offline mode.