DNS Firewall
Local VpnService routes only your DNS resolver IP (/32) into a TUN interface. Intercepts UDP port 53 โ HTTPS and app traffic are not inspected.
LOCAL DNS FIREWALL ยท ANDROID 8+
TrustPhone DNS filters DNS queries on your phone using a local VPN tunnel. Blocklists, policy profiles, and logs stay on your device โ no account, no cloud browsing history.
WHAT THE APP DOES
Every feature below is implemented in the current v3.0.1 codebase.
Local VpnService routes only your DNS resolver IP (/32) into a TUN interface. Intercepts UDP port 53 โ HTTPS and app traffic are not inspected.
Toggle ads, trackers, and malware. Lists download from HaGeZi, Steven Black, URLhaus, and Phishing Army โ cached on device with live counts.
Default, Child, Teen, Family, Work, and Travel profiles with adjustable risk threshold. Local reputation scoring blocks suspicious domains.
Whitelist domains that break and add custom deny rules. Applied before blocklist matching.
Searchable on-device log of recent DNS queries (blocked and allowed). Export as CSV from Privacy Center.
DNS-over-HTTPS to Cloudflare when enabled. No silent downgrade to plaintext when DoH is on. Default upstream: 1.1.1.1 UDP.
Bypass DNS filtering for one app or force-block all DNS per app โ useful for banking apps or strict parental control.
Run protection only during set hours. Filter on WiโFi only or mobile data only.
Point the updater at your own HTTPS hosts-file list instead of the default feeds.
Toggle protection from the notification shade. Persistent notification with one-tap disconnect.
FREE VS PRO
$0
One-time purchase
Purchased via Google Play Billing. No subscription required.
HOW IT WORKS
System DNS to 1.1.1.1 (or your resolver) is routed into the local TUN โ UDP/53 only.
In-memory MurmurHash3 pre-check rejects most domains instantly.
Room database verifies positives โ no false blocks from bloom alone.
Profile, risk score, per-app mode, schedule, and network rules evaluated.
Allowed queries hit in-session TTL cache or resolve via UDP/DoH upstream.
HONEST LIMITS
FAQ
Android only lets apps intercept DNS system-wide through VpnService. TrustPhone DNS routes a single resolver IP into a local tunnel โ it does not send your traffic to a remote VPN server.
It blocks many ad and tracker domains in browsers and some apps. Hardcoded or non-DNS ad delivery may still show. Per-app bypass (Pro) helps with apps that break.
Go to Settings โ Connections โ More connection settings โ Private DNS โ set to Off. System Private DNS bypasses the app's filter.
Query logs use standard app sandbox storage, not SQLCipher. DNS can be encrypted in transit when you enable DoH in Settings.
Version 3.0.1 ยท Android 8.0+ ยท Package com.trustphone.dns
Set Samsung Private DNS to Off for best compatibility.