Guide
Domain Name System
DNS is a distributed naming system. Authoritative servers publish data for zones; recursive resolvers find and cache answers for clients. A hostname can have several record types and addresses. Registering a domain, delegating its DNS and hosting its website are separate operations.
Meaning and purpose
DNS is a distributed naming system. Authoritative servers publish data for zones; recursive resolvers find and cache answers for clients. A hostname can have several record types and addresses. Registering a domain, delegating its DNS and hosting its website are separate operations.
How it works in context
A recursive resolver follows delegation from the root toward the authoritative zone, unless useful answers are already cached. TTL governs cache lifetime, while negative answers can also be cached. DNSSEC authenticates signed DNS data; it does not encrypt queries. DoH, DoT and DoQ protect a transport hop but have different operational tradeoffs.
Technical terms in this section
Why DNS exists
DNS distributes naming data and administration instead of relying on one central hostname list.
How DNS resolution works
DNS resolution follows caches and delegation to obtain authoritative data for a name and record type.
Recursive DNS
A recursive resolver obtains answers for clients and caches results according to DNS rules.
Authoritative DNS
An authoritative server answers from the zone data it is responsible for publishing.
Root DNS servers
Root DNS servers publish root-zone data and top-level-domain delegations.
Root zone
The root zone is DNS’s top-level authoritative data containing TLD delegation information.
Top-level domains
TLDs are names directly beneath the DNS root with delegated registry responsibility.
Country-code TLDs
Country-code TLDs use designated code-based labels with registry-specific registration policies.
Generic TLDs
Generic TLDs are operated by registries under applicable naming and registration arrangements.
Domain registries
A domain registry operates registration data and delegation services for a top-level domain.
Domain registrars
A registrar provides domain-registration services connecting registrants with a registry.
Domain registration
Domain registration establishes use of a name under registration terms, separately from hosting.
Domain ownership
Domain holding concerns registration rights and records, distinct from website operation or registrar identity.
Domain expiration
Domain expiration triggers registry-specific renewal and lifecycle processes rather than one universal timeline.
Domain transfers
Domain transfers change registrar or registrant relationships under applicable verification and lifecycle rules.
DNS zones
DNS zones are authoritative administrative units with records and optional child delegations.
Zone files
Zone files represent DNS records in text with origin, relative-name and TTL semantics.
DNS delegation
DNS delegation assigns child-zone authority through parent-side nameserver information.
Glue records
Glue supplies necessary parent-side address information to reach delegated nameservers without circular dependency.
DNS caching
DNS caching reuses answers for controlled lifetimes to reduce lookup work and latency.
TTL
DNS TTL expresses cache freshness lifetime in seconds, not IPv4 packet hop limits.
Negative caching
Negative caching retains defined nonexistence or missing-data responses for a bounded lifetime.
DNS propagation
DNS change visibility reflects caching, delegation and publication timing rather than one global propagation event.
DNSSEC
DNSSEC authenticates signed DNS data through a trust chain without encrypting query transport.
DNS over HTTPS
DoH carries DNS queries and responses over HTTPS to a chosen resolver.
DNS over TLS
DoT protects a DNS client-to-resolver transport hop with TLS.
DNS over QUIC
DoQ transports DNS over QUIC with encrypted connections and stream-based query exchanges.
DNS poisoning
DNS poisoning introduces false DNS data into resolution or caching paths.
DNS hijacking
DNS hijacking redirects resolution through unauthorized changes to DNS configuration or responses.
DNS amplification attacks
DNS amplification abuses response size and spoofed-source reflection against a victim.
Operational checks and security
Compare the authoritative answer with recursive answers. Check delegation, glue where needed, record type and TTL before describing a change as “propagation.” SERVFAIL, NXDOMAIN and timeout mean different things. Never publish secrets in publicly queryable DNS TXT records.
Read-only example
These commands inspect the surrounding system or protocol. They do not automatically change its configuration or establish every property of this term. Replace example targets only with destinations you are authorized to inspect.
dig example.com A
dig example.com NS
dig +dnssec example.com
Sources and further reading
These explanations are educational. Implementations, policies and standards evolve; check the current specification and software version before changing a system.