Quick Answer

The Domain Name System (DNS) translates human-readable hostnames into machine-routable IP addresses. Modern DNS incorporates anycast recursive caching, encrypted transport (DoH/DoT on port 443/853), and cryptographic signature validation (DNSSEC) to prevent cache poisoning.

  • A records return 32-bit IPv4 addresses, while AAAA records return 128-bit IPv6 addresses.
  • CNAME records cannot coexist with other records on an apex domain without CNAME flattening.
  • DNS over HTTPS (RFC 8484) encrypts port 53 traffic against ISP inspection and interception.

Essential DNS Record Types & Functionality

Technical definitions, standards, and security implications across standard zone records.

Core DNS Record Specifications
Record TypeRFC StandardPrimary FunctionSecurity & Deliverability Role
A RecordRFC 1035Maps domain to IPv4 addressPrimary web and server address routing
AAAA RecordRFC 3596Maps domain to IPv6 addressMandatory for modern dual-stack reachability
CNAMERFC 1034Canonical alias pointing to another domainCannot coexist with SOA/NS on zone apex
MX RecordRFC 1035Designates mail transfer agents (MTAs)Priority values control email delivery sequence
TXT RecordRFC 1035Holds arbitrary human or machine textHosts SPF, DKIM, and site ownership tokens
CAA RecordRFC 8659Certification Authority AuthorizationRestricts which CAs can issue SSL certificates

Recursive DNS Resolution Flowchart


                 [ Domain Name Resolution Query ]
                                |
               +----------------+----------------+
               |                                 |
       [ Local Cache Hit ]              [ Local Cache Miss ]
               |                                 |
      Return Cached IP              Query Recursive Resolver
                                                 |
                                     Check Resolver Cache (TTL)
                                                 |
                                     Iterative Root / TLD Query
                                                 |
                                     Authoritative NS Answer
                                                 |
                                    Cache Result & Return IP

Frequently Asked Questions

What is the technical difference between recursive and authoritative DNS?

An authoritative nameserver holds the actual DNS zone file for a domain (e.g. Cloudflare or Route 53) and provides the definitive answer. A recursive resolver (e.g. 1.1.1.1 or 8.8.8.8) sits between the client and authoritative servers, recursively querying root, TLD, and authoritative nameservers while caching answers according to their TTL.

How do DoH (DNS over HTTPS) and DoT (DNS over TLS) protect privacy?

Standard DNS queries travel over plaintext UDP port 53, enabling local ISPs and Wi-Fi operators to inspect or spoof domain lookups. DoH wraps queries inside encrypted HTTPS sessions on port 443, making DNS lookups indistinguishable from standard secure web traffic.

What causes DNS propagation delays when changing nameservers?

Propagation delays are governed by the Time to Live (TTL) values configured in previous DNS records and the NS records at the parent Top-Level Domain (TLD) registry. Until existing cached records expire at thousands of recursive resolvers globally, queries return stale IP addresses.

Data & Technical Sources