TrustDNS - Ad-Free, Private & Secure DNS for Android

TrustDNS is a flexible DNS application for Android that blocks unwanted ads, stops online trackers, and protects you from malicious websites. Use our pre-configured servers or host your own — no root required.


Now Available on Android

TrustDNS

A flexible DNS application that blocks unwanted ads, stops online trackers, and protects you from malicious websites. Whether you prefer a ready-to-use solution or want full control with your own server — TrustDNS gives you the freedom to choose.

Download from Google Play

How TrustDNS Works

TrustDNS filters your device's DNS queries through secure servers that block ads, trackers, and harmful domains before they reach you. Simply enable the app and enjoy a cleaner, safer browsing experience — across all apps, browsers, and games, on both Wi-Fi and mobile data.

Blocks Ads
Stops Trackers
Malware Protection
No Root Required
One-Tap Activation
Battery Friendly

Two Ways to Use TrustDNS

Option 1

Use Our Pre-Configured Servers

Connect instantly to our managed DNS servers. These servers are maintained and optimized with powerful blocklists to filter ads and protect your privacy — no setup required.

Free access with in-app ads (helps cover server maintenance costs). Upgrade to an ad-free experience with an optional subscription.

Option 2

Host Your Own DNS Server

For users who want complete control, TrustDNS supports connecting to your own self-hosted DNS server. Simply add your server address in the app and you are ready to go.

Completely free — no subscription required. Full control over your DNS configuration and all data stays on your infrastructure.

Get the server code on GitHub →

Set Up Your Own DNS Server

TrustDNS supports connecting to your own self-hosted DNS server. We provide a free, open-source Node.js server that supports all major protocols. Follow the steps below to get your server running.

Quick Start

1

Clone the Repository

git clone https://github.com/OutGrave-Company/TrustDnsServer.git

2

Install Dependencies

cd TrustDnsServer && npm install

3

Generate Certificates

Run openssl req -nodes -new -x509 -keyout certs/key.pem -out certs/cert.pem -days 3650

Start the Server

Run all protocols at once:

npm run start

Or run only specific protocols using CLI flags:

CommandWhat Runs
node index.js --httpDNS over HTTPS (DoH) only
node index.js --http --udpDoH + UDP
node index.js --allAll four servers
npm run start:httpDoH only (via npm script)

Supported Protocols

ProtocolFlagDefault Port
DNS over HTTPS (DoH)--http8787
DNS over UDP--udp53
DNS over TCP--tcp8530
DNS over TLS (DoT)--tls853
Important: Native Android Private DNS requires UDP/TCP port 53 and DoT port 853. These ports are hardcoded into Android and cannot be changed. For full support, deploy on a VPS where you have control over these ports.

Deployment Options

  • VPS (Recommended) — Full control over all ports and protocols. Works with Linux, Windows, or macOS.
  • Vercel / Render — DoH only (HTTP/HTTPS). These platforms do not support UDP or TCP DNS.

Once your server is running, open the TrustDNS app on your Android device, go to Settings, and enter your server address. Your self-hosted server will start filtering immediately.

View Full Documentation on GitHub

Choose Your Plan

Free

TK0/once
Included with the app
  • DNS Filtering (Ad & Tracker Blocking)
  • Standard Rewards
  • 30-Min Daily Ad-Free Bonus
  • Standard Protocols (TCP, TLS, UDP)
  • Self-Hosted Server Support
  • Banner Ads
  • 2x Rewards
  • 1 Hour Daily Bonus
  • Custom DoH Server
Get Started

Lifetime

TK250/once
One-time payment, lifetime access
  • Completely Ad-Free Experience
  • Unlimited Time — No Ads Ever
  • Custom DoH Server Unlock
  • All Protocols Unlocked (TCP, TLS, UDP, DoH)
  • Self-Hosted Server Support
  • 2x Ad Rewards
  • 1 Hour Free Daily Bonus
  • DNS Filtering (Ad & Tracker Blocking)
Buy Lifetime
Note on Self-Hosted Usage: The self-hosted DNS server option is always free and ad-free regardless of your subscription tier. You can download and deploy the server code from our GitHub repository at any time.

Windows Version — Coming Soon

We are actively developing a Windows variant of TrustDNS. Stay tuned for updates on cross-platform support!


Your Privacy Matters

Privacy First by Design

TrustDNS is designed with privacy as a core principle. When using our pre-configured servers, your DNS queries are processed in real time and are not logged or stored. We do not track your browsing history, online activity, or app usage. Account information, credits, and preferences remain on your device.

When using a self-hosted server, all data stays entirely within your own infrastructure and never reaches our systems.


Key Features

Comprehensive Blocking

Blocks ads across apps and websites. Stops trackers from collecting your data. Protects against malware, phishing, and malicious domains.

Flexible Modes

Use our pre-configured DNS servers for instant protection, or host your own DNS server for complete control. Switch anytime.

Simple and Lightweight

One-tap activation. Works on Wi-Fi and mobile data. Lightweight and battery-friendly. No root access required.

Multiple Protocols

Supports DNS over TCP, TLS, UDP, and HTTPS (DoH). Lifetime plan unlocks custom DoH server configuration.

Self-Hosted Server

Full control over your DNS configuration. Download, deploy, and manage your own DNS server using our open-source Node.js server.

Rewards System

Earn rewards while using the app. Free users get standard rewards; subscribers earn 2x rewards plus a 1-hour daily ad-free bonus.


Why Choose TrustDNS?

Flexibility

Use our servers or your own. Choose what works best for you, and switch between modes at any time.

Privacy-First

Your data stays on your device, not on our servers. We are transparent about what we do and do not track.

Affordable

Self-hosted option is completely free. Our subscription is affordable and removes ads while supporting server maintenance.

User-Controlled

You decide how your DNS is configured and handled. Full control, no compromises.


Compatibility

TrustDNS works on Android devices running Android 5.0 (Lollipop) and above. The app uses Android's VPN API to filter DNS traffic locally. No root access is required.

Get Started in 3 Steps

1

Download and Install

Install TrustDNS from Google Play Store on your Android device.

2

Choose Your Mode

Select pre-configured servers or add your custom self-hosted DNS server address.

3

Enable Protection

Tap the toggle to enable DNS protection and start browsing with fewer ads and enhanced privacy.


Frequently Asked Questions

Does TrustDNS work without an internet connection?

TrustDNS requires an active internet connection to filter DNS queries. It works on both Wi-Fi and mobile data.

Will TrustDNS drain my battery?

No. TrustDNS is designed to be lightweight and battery-friendly. It uses minimal resources in the background.

Can I use TrustDNS with other VPN apps?

Android allows only one VPN connection at a time. If you use another VPN app, you may need to choose between them. TrustDNS uses the VPN API locally and does not route your traffic through external servers (unless you configure it to).

Is my data safe with TrustDNS?

Yes. When using our pre-configured servers, DNS queries are processed in real time and are not logged or stored. With a self-hosted server, all data stays entirely within your own infrastructure.

How do I set up my own DNS server?

We provide an open-source Node.js DNS server on GitHub. Clone the repository, install dependencies, generate certificates, and start the server. The app supports connecting to custom servers via TCP, TLS, UDP, and DoH protocols.

What happens when my subscription expires?

If your monthly subscription expires, you will revert to the Free tier. Your DNS filtering will continue to work with banner ads and standard rewards.

Is there a Windows version?

We are actively developing a Windows version of TrustDNS. It will be available soon. Stay tuned for updates!


Support and Contact

Need help?

Have questions, feedback, or need assistance? We would love to hear from you.

support@outgrave.com   ·   Submit a Ticket