Skip to main content

Security Exposure

A DoT resolver accepts TLS sessions, so a publicly reachable one consumes connection state for every client; RFC 7858 warns that poor TCP connection management can lead to resource exhaustion and denial of service.

Hardening

  • Expose a DoT resolver only to the client networks it is meant to serve.
  • Follow RFC 7766 DNS-over-TCP connection management practices, including idle timeouts and per-client connection limits.
  • Configure TLS per BCP 195 (RFC 9325): TLS 1.2 minimum and TLS 1.3 preferred.
  • In managed networks, block outbound TCP and UDP 853 to resolvers other than the approved ones.

Monitoring

Track outbound connections to TCP or UDP 853 that do not go to approved resolvers. On a DoT server, monitor concurrent session counts and handshake failures.

Frequently Asked Questions

What port does DNS over TLS use?→

RFC 7858 says DoT servers must listen on TCP port 853 by default, unless client and server agree on another port.

Does DNS over QUIC use port 853?→

Yes. RFC 9250 specifies UDP port 853 for DoQ and forbids using UDP port 53 for it.

Port assignments from the IANA Service Name and Transport Protocol Port Number Registry. Services can be configured to run on any port, so traffic on port 853 is not guaranteed to be DNS over TLS. Exploited-in-the-wild data from the CISA KEV catalog (CC0).