Back to Glossary
Networking

DNS (Domain Name System)

The internet's phone book that translates human-readable domain names into IP addresses that computers use.

The Domain Name System (DNS) is a hierarchical and distributed naming system that translates human-friendly domain names (like clarkes.team) into IP addresses (like 192.168.1.1) that computers use to identify each other.

How DNS Works

When you type a URL in your browser:

  1. Browser cache check: Has this been looked up recently?
  2. OS cache check: Did your computer save it?
  3. Resolver query: Your ISP’s DNS resolver is asked
  4. Root server: Points to the TLD (.com, .team) server
  5. TLD server: Points to the domain’s nameservers
  6. Authoritative nameserver: Returns the actual IP address
  7. Response cached: Saved for future requests

This all happens in milliseconds.

Common DNS Record Types

RecordPurpose
AMaps domain to IPv4 address
AAAAMaps domain to IPv6 address
CNAMECreates an alias to another domain
MXSpecifies mail servers
TXTText records (often for verification)
NSSpecifies authoritative nameservers

DNS Best Practices

  • Use a reliable DNS provider: Cloudflare, Route53, Google DNS
  • Set appropriate TTLs: Balance caching vs. flexibility
  • Configure SPF, DKIM, DMARC: Protect email from spoofing
  • Have backup nameservers: Redundancy is essential
  • Monitor DNS propagation: Changes can take 24-48 hours

DNS Security

  • DNSSEC: Authenticates DNS responses
  • DNS over HTTPS (DoH): Encrypts DNS queries
  • DNS over TLS (DoT): Alternative encryption method

Improperly configured DNS is a common source of website outages and email delivery issues.

Need Help With Networking?

Our team has decades of experience with networking technologies. We're here to help.