๐ Lock down your connection with NordVPN here: NordVPN
Youโll learn what DNS over TLS (DoT) is, how it encrypts DNS requests, and what it can, and canโt, hide. Understand how DoT compares with DNS over HTTPS, DNSSEC, and VPNs so you can improve your online privacy without common misconceptions.
Chapters: 0:00 Intro 0:15 What does DNS do in the first place? 1:11 How does DNS over TLS work? 2:11 What does DNS over TLS actually protect? 3:37 How are DoT, DoH, DNSSEC, and VPNs different? 4:38 What are the limitations of DNS over TLS? 5:36 Outro
Disclaimer: Links may be affiliate links that earn a commission and support the channel.
Affiliate notice: Some links may earn a commission. Thanks for your support.
Key Takeaways
DNS over TLS (DoT) encrypts DNS requests and responses between your device and a recursive resolver, typically using TLS over TCP port 853.
DoT prevents local networks, ISPs, compromised routers, and other on-path observers from directly reading or altering DNS traffic when properly authenticated.
DoT does not provide anonymity: your resolver can see your queries, while network observers may still see the resolver used, destination IP addresses, timing, and traffic patterns.
Resolver choice remains critical because DoT shifts trust from the local network to the DNS provider; review its logging, retention, data-sharing, filtering, and DNSSEC policies.
Strict mode offers stronger privacy by failing rather than reverting to plaintext, whereas opportunistic mode may silently fall back and expose DNS queries if encryption is blocked.
DoT and DoH provide similar DNS protection, but DoTโs dedicated port 853 is easier to identify and block than DoH traffic on HTTPS port 443.
DoT, DNSSEC, and VPNs serve different roles: DoT encrypts the resolver connection, DNSSEC verifies signed DNS records, and a VPN can tunnel broader internet traffic and mask your public-facing IP.
Configuration conflicts can cause DNS leaks or failures: verify system, browser, application, and VPN DNS settings, especially on captive portals, split-DNS networks, and managed devices.
DoT protects only the client-to-resolver segment, not necessarily the resolverโs upstream DNS exchanges or subsequent website traffic; HTTPS and broader connection safeguards remain necessary.
DNS over TLS, commonly shortened to DoT, encrypts DNS requests between your device and a DNS resolver. It helps prevent internet service providers, public Wi-Fi operators, compromised routers, and other on-path observers from directly reading or modifying those requests.
However, DNS over TLS does not make you anonymous or hide everything you do online. It protects one specific part of an internet connection: the exchange of DNS questions and answers between a client and its selected resolver.
What Does DNS Do?
The Domain Name System (DNS) translates human-readable domain names, such as example.com, into records computers can use, including IP addresses.
Some links may earn a commission. Thanks for your support.
Watch in the video playerOpen the dedicated player for this series.
An application requests the address for a domain.
Your deviceโs DNS client sends the request to a recursive resolver.
The resolver checks whether it already has the answer in its cache.
If necessary, it contacts other DNS servers to find the answer.
The resolver returns the relevant record to your device.
Your application connects to the destination.
Traditional DNS commonly uses UDP or TCP on port 53 without encryption. Anyone in a suitable position on the network path may be able to inspect the requested domain or interfere with the response.
DNS activity also extends beyond websites you intentionally visit. Applications may perform background lookups for:
Software updates
Advertising services
Analytics platforms
Messaging systems
Cloud synchronization
Content delivery services
URL prefetching
A DNS history can therefore reveal patterns about the applications and online services a person uses.
What Is DNS Over TLS?
DNS over TLS carries ordinary DNS messages through an encrypted Transport Layer Security (TLS) connection. TLS is the same core security protocol used to protect HTTPS connections.
DoT was standardized in RFC 7858 and normally uses TCP port 853. A client connects to a selected resolver, establishes a TLS session, and sends its DNS questions through that protected connection.
When correctly configured, DNS over TLS provides three important protections:
Confidentiality: Network observers cannot directly read the DNS questions and answers.
Integrity: An on-path party cannot quietly modify the protected messages.
Authentication: The client can verify that it connected to the intended resolver rather than an impostor.
Traditional DNS is like asking for an address aloud in a crowded room. DoT is more like calling a directory service through a private, authenticated connection. Other people may know that the call occurred, but they cannot directly hear the requested name or the answer.
The directory service still hears the request. In the same way, a DoT resolver must decrypt and process DNS queries to answer them.
How DNS Over TLS Works
1. An application requests a domain
A browser, messaging app, operating-system service, or another application needs to resolve a domain name.
2. The device selects a DNS resolver
The resolver may be configured by:
The operating system
A network administrator
A home router
A VPN application
A public DNS service
The user
Some operating systems refer to system-wide encrypted DNS settings as Private DNS, although exact behavior varies by platform.
3. The client connects on port 853
The device normally opens a TCP connection to the resolver on port 853. Because DoT uses a dedicated port, networks can easily recognize it as a category of traffic.
That makes DoT relatively easy to permit and manage, but also easy to block.
4. The TLS handshake occurs
The client and resolver negotiate encryption keys. In an authenticated configuration, the client also checks the resolverโs identity using trusted information such as its hostname and TLS certificate.
5. DNS messages travel through the encrypted session
The DNS message itself remains a conventional DNS message. The important change is that TLS protects the transport carrying it.
6. The resolver finds the answer
The recursive resolver checks its cache or contacts the necessary DNS infrastructure. Consumer DoT typically protects the connection between the device and recursive resolver. It does not automatically encrypt every later exchange between that resolver and authoritative DNS servers.
7. The answer returns through the TLS connection
The resolver sends its response back through the protected session. The application can then connect to the returned destination address.
Persistent Connections and Performance
Creating a new TCP and TLS connection for every DNS request would add unnecessary delay. DoT clients and servers can maintain persistent connections so that multiple lookups share one established TLS session.
Connection reuse, DNS caching, and TLS session resumption can reduce the practical performance cost. Actual performance still depends on the resolverโs location, network conditions, cache behavior, and implementation.
What DNS Over TLS Protects
DoT protects the DNS traffic traveling between your device and the selected resolver. This can help defend against both passive observation and active interference.
Protection Against Passive DNS Monitoring
A passive observer records traffic without changing it. Potential examples include:
A public hotspot logging plaintext DNS requests
An ISP observing domains requested through traditional DNS
Someone monitoring an unsecured local network
A shared-network administrator collecting DNS activity
DoT prevents those parties from directly reading the DNS payload on the protected connection.
Protection Against On-Path Manipulation
An active attacker may attempt to alter DNS behavior by:
Injecting a false answer
Redirecting a domain to a malicious address
Substituting an unauthorized resolver
Modifying returned DNS records
Intercepting requests sent through a compromised router
Authenticated DoT protects messages against modification on the client-to-resolver path and helps the client confirm that it reached the intended resolver.
What DNS Over TLS Does Not Hide
DNS over TLS is a useful privacy layer, but its scope is limited.
The DNS Resolver Can See Your Queries
The resolver must read the query to process it. Depending on its practices, the resolver may be able to record:
The requested domain
The DNS record type
Query timestamps
Your source IP address
Patterns across multiple requests
The returned answer
DoT therefore shifts trust away from local network observers and toward the selected resolver. It does not eliminate the need for trust.
When choosing a resolver, relevant policy questions include:
What information does it log?
How long does it retain logs?
Are queries associated with client IP addresses?
Is data used for advertising or profiling?
Is information shared with other organizations?
Does the resolver filter or modify responses?
Does it validate DNSSEC?
Which legal jurisdiction governs the service?
The Resolver Connection Remains Visible
A network observer can usually see that your device is connected to a particular IP address on port 853. If that address belongs to a known DNS service, the observer may identify which resolver you use even though it cannot read the requests.
Destination IP Addresses May Remain Visible
After DNS resolution, your device normally connects to the returned IP address. An ISP or local network may observe that destination connection.
An IP address does not always reveal an exact website because many services can share one address. Nevertheless, destination addresses, timing, and other metadata can support inferences about online activity.
Traffic Patterns Remain Observable
Encryption hides message contents, not every characteristic of a connection. Observers may still analyze:
Connection timing
Packet sizes
Query frequency
Total data volume
Resolver addresses
Later connections to destination IP addresses
The IETFโs DNS privacy considerations explain that encrypted DNS may remain vulnerable to traffic analysis and correlation.
Website Content Is Not Protected by DoT
DoT protects DNS resolution. It does not encrypt the content exchanged with a website.
That is normally the role of HTTPS. For a URL such as https://example.com/private/page, DNS generally resolves example.com, while HTTPS protects the subsequent web request, including /private/page.
DoT Does Not Provide Anonymity
The resolver ordinarily knows where a query came from, while websites can see incoming connections. Other parties may also observe destination traffic and metadata.
DoT is an encrypted DNS transport, not an anonymity network.
Strict Privacy vs. Opportunistic Privacy
The privacy provided by DoT depends partly on what happens when a secure connection cannot be established. RFC 8310 describes strict and opportunistic approaches.
Strict Privacy
Strict Privacy requires:
An encrypted connection
Successful resolver authentication
Failure rather than silent plaintext fallback
If the client cannot establish an authenticated connection, DNS resolution may stop. This protects against passive monitoring and attempts to redirect the client to an unauthorized resolver, but it can reduce availability on networks that block DoT.
Opportunistic Privacy
Opportunistic Privacy attempts to use encrypted DNS while prioritizing continued connectivity. Depending on the implementation, it may accept:
Authenticated encrypted DNS
Encrypted but unauthenticated DNS
Plaintext DNS as a fallback
This approach may work across more networks, but its privacy guarantees are weaker. An interfering network could block the encrypted option and cause a client to revert to plaintext.
A setting labeled โautomaticโ does not necessarily provide the same protection as one that explicitly requires authenticated encryption. Fallback behavior is an important part of any encrypted DNS configuration.
DNS Over TLS vs. DNS Over HTTPS
DNS over HTTPS (DoH) also encrypts DNS messages between a client and resolver. Its main difference from DoT is how the encrypted traffic is transported.
Feature
DNS over TLS
DNS over HTTPS
Abbreviation
DoT
DoH
Typical transport
TLS over TCP
HTTPS
Common port
853
443
Easy to identify as DNS traffic
Yes
Less so
Easy to block by port
Yes
More difficult without affecting HTTPS
Resolver can read queries
Yes
Yes
Provides anonymity
No
No
DoTโs dedicated port makes it easier for network administrators to identify, permit, monitor as a traffic category, or block. DoH typically uses the same port as ordinary HTTPS traffic, making it harder to distinguish through simple port-based rules.
Both protocols protect the connection to a resolver. Neither prevents that resolver from reading the DNS requests.
DNS Over TLS vs. DNSSEC
DoT and Domain Name System Security Extensions (DNSSEC) solve different problems.
DoT encrypts and authenticates a connection to a resolver.
DNSSEC authenticates signed DNS data.
DNSSEC allows a validating resolver or client to determine whether signed DNS records are authentic and unchanged. It does not make DNS requests confidential.
A resolver could use DoT to protect its connection with a client while also performing DNSSEC validation. The technologies are complementary rather than interchangeable.
DNS Over TLS vs. a VPN
A VPN generally protects a broader portion of internet traffic than DoT.
When a VPN handles DNS correctly, DNS requests can travel through the VPN tunnel to a resolver selected by the VPN configuration. The local network or ISP may see the VPN connection but not the DNS traffic inside it.
DoT may still operate inside or beyond that tunnel. The exact path depends on:
Operating-system settings
VPN routing rules
Browser-level secure DNS
VPN-assigned resolvers
Application-specific DNS behavior
IPv4 and IPv6 configuration
DNS Leaks
A DNS leak occurs when a query unexpectedly bypasses its intended resolver or protected tunnel. For example, a device might send DNS requests to an ISP resolver even though the user expects them to travel through a VPN.
DoT does not automatically prevent every VPN-related DNS leak. Browser secure DNS, system DNS, VPN settings, and application-specific resolvers may compete for control of the lookup path.
Common DNS Over TLS Use Cases
Protecting DNS on Public Wi-Fi
DoT can prevent a hotspot operator or nearby on-path observer from directly reading DNS requests. Authenticated DoT can also make it more difficult for a malicious hotspot to inject false DNS answers.
The hotspot can still observe the resolver connection and later destination IP traffic.
Reducing DNS Visibility for an ISP
When a device uses an external DoT resolver, the ISP cannot ordinarily read the DNS payload. It may still see the resolver address, connection metadata, and destination IP addresses.
Meanwhile, the external resolver gains visibility into the DNS requests.
Defending Against a Compromised Router
A compromised router may attempt to intercept traditional DNS requests or substitute false answers. It cannot quietly modify messages inside a properly authenticated TLS session without defeating the connectionโs security.
DoT does not protect against a malicious selected resolver.
Maintaining a Consistent DNS Policy
A device or home gateway can use the same encrypted resolver across multiple networks instead of accepting a different DNS service everywhere it connects.
The resolver may also provide separate features such as malware-domain blocking or age-based filtering. Those are resolver functions, not inherent DoT capabilities.
Managed and Protective DNS
Organizations can direct devices to an approved encrypted resolver that applies security policies and detects requests involving known malicious domains.
However, unauthorized external DoT can bypass organizational DNS filtering and monitoring. Managed networks may therefore block port 853 or restrict encrypted DNS to approved services.
DNS Over TLS Limitations and Failure Modes
Port 853 Can Be Blocked
Because DoT uses a recognizable dedicated port, a school, workplace, ISP, or restrictive network can block TCP port 853. Networks may also block the addresses of known external resolvers.
Captive Portals May Interfere
Hotels, airports, and guest networks often require users to complete a browser-based login before receiving normal internet access. Some captive portals depend on DNS interception or redirection.
Strict DoT may fail until the portal login is completed because the client refuses the networkโs manipulated DNS behavior.
Internal Domains May Stop Resolving
Workplaces and home networks may have private names that only a local resolver understands. Sending every request to an external DoT service can prevent those names from resolving.
This is associated with split DNS, where available names or returned answers vary according to the userโs network, location, or identity.
Parental Controls and Security Filtering May Be Bypassed
External encrypted DNS can bypass local controls that depend on a specific resolver, including:
Parental controls
Malware-domain blocking
Internal service discovery
Compliance logging
Organization-specific access policies
Applications that use their own resolver may also bypass system-level filtering.
The Entire DNS Resolution Path May Not Be Encrypted
Consumer DoT usually protects the connection between the client and recursive resolver. The resolverโs later communication with authoritative DNS servers may use other transports.
Client-to-resolver encryption should not be mistaken for guaranteed end-to-end encryption across every DNS exchange.
Privacy and Availability Can Conflict
Strict mode preserves the promised privacy level but may stop DNS resolution when secure access fails. Opportunistic mode can preserve connectivity but may expose requests through plaintext fallback.
The right behavior depends on whether privacy guarantees or uninterrupted access have priority.
Understanding the DNS Over TLS Trust Model
Different parties retain access to different information when DoT is active.
Techniques such as QNAME minimization can reduce how much information a recursive resolver sends to upstream authoritative servers. They do not hide the complete query from the recursive resolver itself.
The central privacy principle is straightforward: DNS over TLS does not remove trust from DNS. It changes which parties can see queries and which network segments are protected.
How to Evaluate a DNS Over TLS Setup
Before relying on DoT, determine:
DoT is most useful when its narrow role is understood: it protects DNS questions and answers in transit between a client and resolver. HTTPS, secure device configuration, trustworthy service providers, and broader traffic protection remain important.
Put DNS Privacy Into a Broader Protection Strategy
DNS over TLS closes one significant privacy gap, but the rest of your connection can still expose destination addresses, traffic patterns, and other metadata. A VPN can add a broader encrypted route for compatible traffic, mask your public-facing IP address, and provide safeguards against common DNS routing gaps.
NordVPN helps apply these protections across everyday devices, including phones, tablets, and computers. It is particularly useful on public or otherwise untrusted networks where protecting only DNS may leave other traffic exposed.
Affiliate notice: Some links may earn a commission. Thanks for your support.
Next
FAQ
Quick answers to the questions people usually ask about this topic.
Does DNS over TLS slow down internet browsing?
DNS over TLS can add a small initial delay because it uses TCP and requires a TLS handshake. In practice, persistent connections, DNS caching, and TLS session resumption allow many lookups to share the same secure session. Resolver location, server performance, and network conditions usually have a greater effect than encryption alone.
Is Android Private DNS the same as DNS over TLS?
Androidโs Private DNS feature commonly uses DNS over TLS when configured with a compatible provider hostname. In automatic mode, its behavior and fallback guarantees may differ from a strict configuration. Other operating systems may use the term โprivateโ or โsecure DNSโ for DoT, DoH, or another implementation, so check the platform documentation.
Can DNS over TLS be configured on a home router?
Yes, if the router or its firmware supports DoT. Router-level configuration can provide encrypted DNS for devices that use the router as intended. However, browsers and applications with their own DNS settings may bypass it, and older or hard-coded devices may still use a different resolver. Router-based DoT also protects only the path from the router to the selected resolver; local device-to-router DNS may remain unencrypted.
How can I tell whether DNS over TLS is working?
Check that the device is connected to the intended resolver over TCP port 853 and review any secure-DNS status provided by the operating system, router, or resolver. A DNS leak test can help identify which resolver receives queries, but it does not by itself prove that the client-to-resolver connection uses TLS. For stronger verification, inspect network traffic or diagnostic logs and confirm that plaintext port 53 requests are not being sent unexpectedly.
Can a network block DNS over TLS without blocking the rest of the internet?
Yes. Because DoT normally uses the dedicated TCP port 853, a network can block that port or known resolver IP addresses while leaving ordinary web traffic available. A strict client should fail rather than silently downgrade; an opportunistic client may fall back to plaintext DNS, depending on its implementation and settings.
Should DNS over TLS use an IP address or a resolver hostname?
A resolver hostname is generally important for authenticated DoT because the client can compare it with the resolverโs TLS certificate. Connecting only to an IP address without a securely configured authentication name can weaken identity verification. The exact setup depends on the operating system or client, and an initial mechanism may be needed to obtain the resolverโs IP address.
Does DNS over TLS prevent DNS leaks when using a VPN?
Not automatically. A VPN may route DNS through its encrypted tunnel, while the operating system, browser, or individual applications may select other resolvers. DoT encrypts a query along its configured path, but that path could still bypass the VPN. Check VPN DNS settings, browser secure-DNS behavior, IPv4 and IPv6 routing, and kill-switch or leak-protection features together.
What should I use if I want broader privacy protection than DNS over TLS?
DoT protects DNS requests, but it does not tunnel general internet traffic or change the public-facing IP address seen by websites. A VPN can provide broader encrypted routing, IP masking, DNS leak safeguards, and coverage across multiple devices. As a practical next step, use NordVPN to apply those protections to everyday connections.
Affiliate link โ I may earn a commission at no additional cost to you.
Jay's Recommendation
Turn privacy knowledge into everyday protection
The series explains online privacy. NordVPN helps you put it into practice with encrypted connections, IP masking, and apps for everyday devices. Reduce network-level exposure without building your own setup. Itโs an added privacy layer, not complete anonymity or a replacement for safer browsing habits.
๐Encrypted connectionsHelp shield VPN-routed traffic from observers on shared Wi-Fi.
๐Less ISP visibilityLimit what your provider can see about browsing carried through the VPN.
๐ญMasked public IPShow websites the VPN serverโs address instead of your own.
๐ฑPrivacy across devicesPut connection-level protection to work on your phone and computer.