Port 53 — DNS (Domain Name System)
Translates human-readable domain names (e.g. techsimplehub.com) into numerical IP addresses. UDP is used for standard lookups; TCP is used for responses exceeding 512 bytes and zone transfers.
⚡ Primary Use Cases & Environments
- ✓Recursive DNS resolvers
- ✓Authoritative nameservers (BIND, PowerDNS, Cloudflare)
- ✓Domain name resolution queries
🛡️ Security & Vulnerability Analysis
Exposed open DNS resolvers can be abused for massive Distributed Denial of Service (DDoS) DNS amplification attacks. Restrict recursive queries to authorized subnets.
🔧 Network Diagnostics & Inspection
🔥 Firewall Configuration Rules (UFW & iptables)
❓ Frequently Asked Questions (FAQ)
Does DNS use UDP or TCP?
Both. Standard queries and responses use UDP port 53 for speed. When responses exceed 512 bytes (or DNSSEC records) or when executing zone transfers (AXFR), DNS automatically falls back to TCP.
How do I test DNS resolution directly from the CLI?
Use dig: "dig @1.1.1.1 example.com A" or nslookup: "nslookup example.com 8.8.8.8".