Understanding Tor Browser's DNS handling and why DoH configuration is not applicable.
🧅 Tor Browser • Desktop ⚠️ Not Supported 🔒 Built-in DNS over TorTor Browser is a privacy-focused browser that routes all traffic through the Tor network. Unlike other browsers, Tor handles DNS resolution internally through its own encrypted network for maximum privacy and anonymity.
.onion domain resolution.| Aspect | How Tor Browser Works |
|---|---|
| DNS Resolution | DNS requests are routed through the Tor network, not to external DNS servers. |
| .onion Domains | Tor Browser resolves .onion domains internally using the Tor network's distributed hash table. |
| Privacy | DNS queries are encrypted and anonymized through the Tor circuit. |
| DoH Support | While the underlying Firefox engine supports DoH, it is disabled by default and not recommended to enable. |
| Feature | Standard Browsers | Tor Browser |
|---|---|---|
| Custom DoH Support | ✅ Yes | ❌ Not Recommended |
| Token Authentication | ✅ Supported | ❌ Not Applicable |
| .onion Domain Resolution | ❌ No | ✅ Yes |
| DNS Privacy | ⚠️ Depends on DoH provider | ✅ Built-in anonymity |
If you try to configure DoH in Tor Browser via about:config, you may find that:
network.trr.mode is set to 5 (disabled)network.trr.mode = 5 is the default (DoH disabled)2 or 3 will break Tor's anonymityLeave Tor Browser at its default settings.
Tor Browser is designed to protect your privacy and anonymity out of the box. No additional DNS configuration is needed or recommended.
For organizations that want to use both DNSaaS and Tor Browser:
Configure DNSaaS at the operating system level using dnsdist or systemd-resolved.
Configure DNSaaS at the router/network level.
Use Tor Browser only for anonymous browsing and other browsers for regular browsing with DNSaaS.