Port 53 (TCP/UDP) โ€” DNS

Domain Name System queries.

๐Ÿ”’ Runs locally โ€” your input never leaves this browser tab

Port
53
Protocol
TCP/UDP
Service
DNS
Internet exposure risk
Medium

An open recursive resolver can be abused for DDoS amplification. Restrict recursion to your own networks.

Check if port 53 is open

On the server, see what is listening:

sudo ss -tulpn | grep ':53 '

From another machine, test reachability:

nc -zv your-server.example.com 53

Block port 53 from the internet

With UFW (Ubuntu/Debian):

sudo ufw deny 53

With firewalld (RHEL/AlmaLinux/Rocky):

sudo firewall-cmd --permanent --remove-port=53/tcp && sudo firewall-cmd --reload

โ† All common ports