DNS

NETWORKING

Quick Definition

The Domain Name System (DNS) is a hierarchical naming system that translates human-readable domain names (like terminalfeed.io) into machine-readable IP addresses (like 104.21.32.1). Every time you type a URL into your browser, a DNS lookup happens before the connection is even established. DNS is one of the most fundamental and invisible pieces of internet infrastructure.

How it works

When you enter a domain name, your device first checks its local cache. If not found, it queries a recursive resolver (usually provided by your ISP or a service like Cloudflare's 1.1.1.1). The resolver checks its cache, and if needed, queries the DNS hierarchy: root servers point to TLD servers (.io, .com), which point to authoritative nameservers for the specific domain. The authoritative server returns the IP address, which is then cached at every level for the record's TTL (time to live).

DNS records come in many types. A records map names to IPv4 addresses. AAAA records map to IPv6. CNAME records create aliases. MX records direct email. TXT records hold arbitrary text (often used for domain verification and email security like SPF, DKIM, and DMARC).

Why it matters

DNS is a single point of failure for every internet service. If DNS goes down, nothing works, even if servers are running perfectly. Major outages at DNS providers have taken down large portions of the internet. Choosing a reliable DNS provider, setting appropriate TTLs, and understanding DNS propagation are critical for running any web service. DNS is also a common attack vector through cache poisoning, DNS hijacking, and DDoS attacks on nameservers.

Where you'll see this on TerminalFeed

TerminalFeed uses Cloudflare for both DNS and hosting. The domain terminalfeed.io is registered through Cloudflare Registrar with Cloudflare DNS nameservers. The Dev/Ops Status panel on the dashboard monitors services that depend on reliable DNS resolution.