Port 853: DNS over TLS / QUIC

Port 853 (TCP/UDP) is used by DNS over TLS / QUIC. Encrypted DNS (DoT on TCP, DoQ on UDP).

853Port
TCP/UDPProtocol
domain-sIANA service name
Network infrastructureCategory

Port range

853 is a well-known (system) port (range 0–1023). On Linux and macOS, binding to it traditionally needs root or the CAP_NET_BIND_SERVICE capability.

Security

Only open port 853 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.

Open port 853 in a firewall

ufw         sudo ufw allow 853/tcp
            sudo ufw allow 853/udp
iptables    sudo iptables -A INPUT -p tcp --dport 853 -j ACCEPT
            sudo iptables -A INPUT -p udp --dport 853 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=853/tcp
            sudo firewall-cmd --permanent --add-port=853/udp
Windows     New-NetFirewallRule -DisplayName "DNS over TLS / QUIC 853" -Direction Inbound -Protocol TCP -LocalPort 853 -Action Allow

Check if port 853 is open

nc -vz example.com 853
Test-NetConnection example.com -Port 853   # PowerShell
sudo ss -tulpn | grep ':853 '   # what is listening locally (Linux)

Other network infrastructure ports

Frequently asked questions

What is port 853 used for?
DNS over TLS / QUIC. Encrypted DNS (DoT on TCP, DoQ on UDP).
Is port 853 TCP or UDP?
Both are assigned. Check which one your software actually listens on.