Learning Centre

What is DNS over TLS (DoT)?

DNS over TLS, often shortened to DoT, is a way to send DNS queries through an encrypted TLS connection instead of sending them as plain DNS messages. Traditional DNS commonly uses UDP or TCP on port 53 without encryption. DoT uses TLS, usually on port 853, so observers on the local network cannot easily read or modify the DNS queries in transit.

DNS is one of the first steps in most internet activity. Before a browser, application, or service connects to a hostname, it usually needs to resolve that name to an IP address or another DNS answer. If those lookups are visible or tampered with, they can expose browsing patterns, leak business activity, or direct users to the wrong destination.

DoT does not make DNS anonymous, and it does not hide the final connection to a website or service. The chosen resolver can still see the queries, and other protocol metadata may reveal the destination. DoT is best understood as transport protection between the client and the recursive resolver.

What DoT protects

DoT protects DNS queries from passive observers on the path between a client and its resolver. This can matter on public Wi-Fi, shared networks, hostile local networks, or networks where DNS interception is a concern. The TLS connection also helps prevent simple on-path modification of DNS responses.

DoT can improve integrity when paired with a trusted resolver and correct certificate validation. The client establishes a TLS session to the resolver, validates the resolver's certificate, and then sends DNS messages inside that encrypted session. If validation is skipped or misconfigured, the security benefit is weakened.

DoT protects DNS transport to the resolver; preventing DNS cache poisoning also requires trustworthy answers and resolver validation. DoT does not replace DNSSEC. DNSSEC validates DNS data from authoritative zones where it is deployed; DoT encrypts the transport between client and recursive resolver. They solve different problems and can be used together. DoT also does not replace web TLS. A browser still needs HTTPS or another secure application protocol after the DNS lookup completes.

How it compares with DNS over HTTPS

DNS over TLS and DNS over HTTPS both encrypt DNS traffic, but they use different transports and operational models. DoT generally uses a dedicated port, 853, which makes it easier for network operators to identify and manage. DNS over HTTPS uses HTTPS, usually on port 443, and can blend into normal web traffic.

The dedicated port can be an advantage in managed networks. It allows explicit firewall policy, monitoring, and routing for encrypted DNS. It can also be a disadvantage where port 853 is blocked. In those environments, clients may fall back to traditional DNS or use another encrypted DNS method depending on their configuration.

DNS over HTTPS is often integrated into browsers and applications. DoT is commonly used by operating systems, network devices, and DNS forwarders. The right choice depends on policy goals, device control, resolver trust, and the need for visibility in enterprise networks.

Operational design questions

The first question is resolver trust. Encrypting DNS to an unknown or unmanaged resolver may improve privacy from the local network while reducing organizational visibility and control. For personal users, a public resolver may be acceptable. For enterprises, the resolver choice affects logging, filtering, incident response, data residency, and acceptable use policy.

The second question is fallback behavior. If DoT fails, should the client fail closed, use plain DNS, or try another resolver? Fail closed provides stronger privacy and integrity but can break connectivity when port 853 is unavailable. Falling back to plain DNS keeps users online but may silently remove the protection that the policy intended.

The third question is split-horizon DNS. Many organizations use internal DNS names that resolve only inside a corporate network. If a device sends all queries to an external DoT resolver, internal applications may fail or private names may leak. Managed clients should know which resolver to use in each network context.

Common failure modes

Certificate validation problems can cause DoT outages. If the resolver certificate expires, the hostname does not match, or a client lacks the right trust anchor, queries may fail. Some clients report this clearly; others only show general network errors.

Firewall policy can also interrupt DoT. Port 853 may be blocked by default, especially on guest networks or restrictive enterprise networks. If clients are configured to use only DoT, users may experience total DNS failure. If clients silently fall back, operators may not notice that encrypted DNS is not being used.

Resolver performance matters. TLS setup adds work, although connection reuse reduces the impact. A slow or distant resolver can increase lookup latency. Operators should measure real user experience rather than assuming encrypted DNS is either always faster or always slower.

Visibility gaps are another failure mode. Security teams often rely on DNS logs for malware detection, phishing investigation, and asset discovery. If endpoints use unmanaged encrypted resolvers, those logs may disappear. That does not mean DoT is bad; it means resolver policy should be explicit.

Security and privacy implications

DoT raises the baseline for DNS privacy on untrusted networks. It reduces casual observation of DNS queries by local network operators, compromised routers, or nearby attackers. It also makes simple DNS injection harder between the client and recursive resolver.

At the same time, DoT centralizes trust in the resolver. The resolver can still log queries, apply filtering, and see client source information unless additional privacy measures are used. Organizations should evaluate resolver policies, jurisdiction, retention, security controls, and operational reliability.

For defenders, DoT should be part of a broader DNS security plan. That plan may include DNSSEC validation, protective DNS filtering, resolver logging, endpoint policy, and clear handling for guest networks, remote users, and cloud workloads.

Rollout checks for managed environments

Start with a pilot group and a known resolver. Confirm that clients validate the resolver certificate, use the intended hostname, and behave predictably when the resolver is unreachable. Record whether fallback is allowed and how users are notified if DNS protection is unavailable.

Test internal domains, VPN scenarios, captive portals, guest Wi-Fi, remote work networks, and cloud-hosted workloads. Watch for application failures caused by split DNS or blocked port 853. Measure lookup latency and error rates before and after the change.

Finally, align logging and incident response. If DNS logs move from local resolvers to a managed DoT resolver, make sure security teams can still investigate suspicious domains, malware callbacks, and policy violations. A successful DoT rollout protects DNS transport without surprising the teams responsible for keeping the network available and secure.

Related learning

Related Articles

AI Crawler User Agents

A practical reference for common AI crawler user agents, operators, purposes, and recommended Peakhour bot-management actions.

AI For Cybersecurity

AI For Cybersecurity explains the concept in the context of AI security, with practical checks and mitigation considerations for site operators.

AI Image Generation

AI Image Generation explains the concept in the context of AI security, with practical checks and mitigation considerations for site operators.

© PEAKHOUR.IO PTY LTD 2026   ABN 76 619 930 826    All rights reserved.