← all systems · see it in The System
Domain Name System
| boundary | Inside: the name space and its resource records, the zones and the authoritative servers that hold them, the resolvers and their caches, the DNS protocol (messages, transfers, NOTIFY, DNSSEC records), and the registries that decide what goes into each zone. Outside: the transport beneath (UDP, TCP, IP, the encrypted transports' TLS, HTTPS and QUIC), the routing that reaches servers (BGP, anycast), the applications and people that ask, ICANN and the IETF that set its rules, and the attackers and defenders who act on it. RFC 1034: 'The DNS has three major components': the name space with resource records, name servers, and resolvers. |
| nested level | Built from name servers, resolvers, zones and caches over UDP/TCP; part of the Internet's glue floor (the internet walk books it there) and one of the TCP/IP suite's application-layer support protocols; carries mail routing, blocklists and content steering above it. |
| scale | technological |
From the walk
The Internet's naming moved off a single text file because copying that file to every host cost bandwidth growing with the square of the number of hosts; by 1988 the new system already named over 20,000 hosts against 5,500 in the old file. (src:rfc1034, src:mockapetris-1988)
Definition. The Internet's hierarchical, distributed and delegated naming database: a tree of names, divided into zones each run by the organisation it is delegated to, served by authoritative name servers and read by resolvers that cache answers for a time set by the data's owner. Most prominently it maps the names people use to the addresses the network uses; it also carries mail routing, blocklists, keys and other typed data. Walked as computer networking describes it: its messages and transport, servers, zones and caches, the delegated tree from the root down, the registries, registrars and operators who run it, how zone content reaches many servers, its security and its outages. Definition drawn from the encyclopedia entry (Wikipedia, CC BY-SA).
On this page: Properties 2 · Measures 49 · Open contentions 3 · Cross-scale patterns 22 · Valence partners 19 · Partners and parts 98 · Notes 3 · Layers 88 · Sources 58
Properties published scienceour proposal
Sourced fields, and our own readings.
| born at | November 1983 (RFC 882, 883) |
| born precision | month |
Measures (49) published science
| characteristic clock: recommended TTL for host names (1988) | 2 days |
| characteristic clock: median lookup latency (MIT 2000) | <100 ms |
| characteristic clock: root NS and glue TTL | 172800 s (two days) |
| characteristic clock: secondary REFRESH interval (operational advice) | 20 min to 2 h (short); 2-12 h (long) time |
| characteristic clock: domain registration term | 1 year (minimum term; 95% of lifetimes under most TLDs studied) |
| domain lifetimes at the minimum term | 95% (most TLDs); .com 40% renewed at least once share of lifetimes |
| NOTIFY retransmission defaults | 60 s interval, up to 5 retransmissions (UDP) time, count |
| secondary EXPIRE (operational advice) | 2-4 weeks |
| maximum cache TTL clamp (recommended) | 7 days (604,800 s) |
| maximum TTL | 2147483647 s (2^31 - 1) |
| UDP message limit (before EDNS) | 512 bytes |
| label and name length | 63 octets per label; 255 octets per name |
| guesses to match a random query ID | 32768 attempts on average (16-bit ID) |
| open resolvers open to the 2020 side-channel poisoning | >34% of open resolvers; 85% of popular DNS services share |
| HOSTS.TXT distribution cost against hosts (1987 account) | proportional to the square of the number of hosts bandwidth |
| first specification | November 1983 (RFC 882, 883); RFC 1034/1035 November 1987 date |
| hosts named (1988) | over 20,000 via DNS; about 5,500 in HOSTS.TXT host names |
| delegated domains (1988) | >650 (March 1988); about 300 (February 1987) domains |
| root server load (1988) | about 1 query per second per root server (seven servers) |
| avoidable root traffic (1988) | 50 % of root traffic |
| negative responses at the root (1988) | 10-50% (typical 25%) share of responses |
| lookup time to delegated domains (1988) | 3-10 s (prime time); 30-60 s worst |
| additional-section saving (1988) | half of query traffic |
| cache hit rate (MIT 2000) | 80-86 % |
| lookups unanswered and their share of packets (MIT 2000) | 23% of lookups; more than half of DNS packets share |
| latency with long against short TTLs (75th percentile) | 21 ms against 183 ms |
| authoritative load reduction with long TTL | about 77 % |
| root server instances (2025) | 1954 instances behind 13 addresses |
| root letters and operators (2015) | 13 letters, 12 organisations, more than 500 sites, 11 with anycast count |
| root event load (2015) | 100x normal; about 5 Mq/s at A and J load |
| root zone signed | 15 July 2010 date |
| DNSSEC deployment in .com/.org (2016) | 0.6% (.com) to 1.0% (.org) with DNSKEY; top 10K sites 1.85% share of domains |
| DNSSEC mismanagement (2017) | 31% of signed domains miss records needed for validation; 39% weak key-signing keys share |
| resolvers that validate DNSSEC (2016-17) | 12% (of 82-83% that request the records) share of resolvers |
| DNSSEC deployment in .nl and .se | 47% and 14% share of second-level domains |
| DNS bandwidth amplification factor | about 28 (open resolvers); 54.6, up to 98.3 for the top 10% (ANY to DNSSEC-signing authoritative servers) bytes out / bytes in |
| DNS reflection attacks per day (2014-2017) | 1930 attacks per day (median, at the honeypots) |
| domains with a lame delegation | about 14 % of registered domains queried |
| domains whose zone could be transferred by anyone (2019) | 15.4% via masters alone; 30.2% via masters or secondaries share of domains scanned |
| taken-down domains released back to the market | >14% (of those taken down in ten months); >620K taken-down domains studied share |
| share of the name space attacked (Nov 2020-Mar 2022) | up to 5 % of the DNS name space |
| clients without cache benefit; retry traffic under attack | about 30% of clients; retries up to 8x normal traffic share; multiplier |
| Dyn attack commands (21 Oct 2016) | 23 commands, 11:07-16:55 UTC; 107K attacking IPs, 71% seen in Mirai scanning count |
| encrypted DNS adoption trend (2021) | stationary (Jan-May 2021); unknown DoH servers grew 4 times trend |
| maximum stale timer (suggested) | 1-3 days |
| KeyTrap stall of a validating resolver | up to 16 hours; 2,000,000x CPU instructions from one packet time; multiplier |
| TsuNAME traffic rise at .nz and lab amplification | +50% total .nz traffic from two domains; 500x amplification share; multiplier |
| NXNSAttack packet amplification | >1620 x packets at the recursive resolver |
| root traffic that should not be there (2006-2008) | about 98 % of root traffic (estimate) |
Open contentions (3) open contention
Where sources or readings disagree. Both stay on the map.
- C-4577 When was the internet's naming system (DNS, which turns names into addresses) born: with its first specifications in 1983, in first full use in 1985, or with the 1987 rewrite?
booked: The map keeps both readings side by side and rules on neither.
the other reading: 1985, when hosts first used the DNS as their sole means of naming (src:mockapetris-1988) and from when it is 'an essential component of the functionality of the Internet' (src:wp:domain-name-system); November 1987, when RFC 1034 and 1035 superseded the 1983 specifications (src:wp:domain-name-system) - C-4578 How long should computers keep a cached internet name lookup before asking again? Some studies find short times cost little; others find long times save real delay and load.
booked: The map keeps both readings side by side and rules on neither.
the other reading: 'reducing the TTL of address (A) records to as low as a few hundred seconds has little adverse effect on hit rates' and 'client latency is not as dependent on aggressive caching as is commonly believed' (src:jung-2002); 'longer TTLs have significant promise in reducing latency'; at the 75th percentile 21 ms against 183 ms; authoritative traffic down about 77%; recommend 'longer TTLs (a few hours)' except for CDNs (src:moura-2019-ttl); the designers in 1988: TTLs of 'a few days', and short TTLs chosen 'even if changes are very rare and do not need the timeliness' (src:mockapetris-1988) - C-4584 Does encrypting internet name lookups protect people from snooping, or does it mostly hand those lookups to a few big companies?
booked: The map keeps both readings side by side and rules on neither.
the other reading: 'Encryption provided by TLS eliminates opportunities for eavesdropping and on-path tampering' (src:rfc7858); solutions preventing inspection by the local network operator 'have been criticized for thwarting corporate network security policies and Internet censorship' and public resolvers for 'contributing to the centralization of the Internet' (src:wp:domain-name-system, citing Huston 2019); adoption measured as stationary in early 2021 (src:garcia-2021-encrypted); concentration both concentrates risk and speeds fixes: 'More than 30% of all queries to both ccTLDs are sent from 5 large cloud providers', and 'once a cloud provider deploys a security feature -- such as QNAME minimization -- it quickly benefits a large number of users' (src:moura-2020-clouding, abstract only)
Cross-scale patterns seen here (22) our proposal
Shapes that recur when the same kind of problem is solved at different scales, and how each shows in Domain Name System. Each links to every other system that shows it.
- borrowed-then-held (structural)
Both phases are in the sources: an organisation's names were first kept for it by the NIC in HOSTS.TXT ('had to wait for the NIC to change HOSTS.TXT'), then held by its own servers after delegation ('can then be grown to arbitrary size and further delegated without involving the parent'). A resolver - holding / entrainment (structural)
The zone's owner sets the clock and the death of every copy: 'The distributor sets the timeout value and the recipient of the distribution is responsible for performing the refresh'. A secondary waits REFRESH, retries every RETRY, and 'must assume that its copy of the zone is obsolete an discard it' - nested ladder (structural)
Containment in the tree: 'A.B.C.D is a subdomain of B.C.D, C.D, D, and " "', so being under a name implies being under each name above it; the DNSSEC chain of trust runs the same ladder from the root's key down. - red-queen (structural)
Escalation with a loop that keeps reopening. 2008: Kaminsky shows off-path poisoning is practical; vendors answer with source-port randomisation and the IETF with RFC 5452 (ID and port, about 2^32 guesses). 2012: Herzberg and Shulman show the patches can be circumvented (NAT, server and case randomi - same role, different builds (structural)
One job (serve the root zone) done by 13 independently built services: 'each letter has a different architecture, an intentional diversity designed to provide robustness'; in 1988 three root servers ran JEEVES on TOPS-20 and four ran BIND on Unix. The same job (get a blocklist to every mail server) - templating (structural)
One resource-record format and one message format carry every kind of data: host addresses, mail exchangers, blocklists published as zones, DNSSEC's keys and signatures. The blocklist's operators took the same module unchanged ('The structure of a DNSBL and DNSWL are the same'), and the same query w - The carry (structural)
All three faces. Overflow passed on: an answer that will not fit the 512-byte UDP message is cut, flagged TC, and the question is passed on to TCP ('Longer messages are truncated and the TC bit is set in the header'). The wait: a lookup waits on each referral in turn ('number of referrals for a look - trade one property for another (structural)
The TTL dial: 'a low TTL is desirable in that it minimizes periods of transient inconsistency, while a high TTL minimizes traffic and allows caching to mask periods of server unavailability', with users spread along it: CDNs and load balancers at 5-15 minutes, most others at hours, the root at two d - who opens the door (structural)
Doors opened from inside ahead of time everywhere: a server binds port 53 and waits; a resolver accepts an answer only if it matches a query it sent, on a source port it chose (the forger must guess the door); a secondary acts on NOTIFY only from its known masters; transfers are to be allowed only t - barrier-gates-complexity (partial)
The zone cut as an administrative boundary: once delegated, a zone 'can then be grown to arbitrary size and further delegated without involving the parent'; without it, all names waited on one central file whose distribution cost grew with the square of the hosts. The without-the-barrier case is sho - lightning (partial)
The July 2008 disclosure was a sudden discharge that changed what followed: 'This has led to a number of DNS defenses being deployed widely'. The 4 October 2021 command at Facebook took 'all the connections in our backbone network' down at once. - runaway from an unstable balance (partial)
Under loss, retries add load that causes more loss: 'retries during DDoS attacks increase normal traffic up to 8x'; when one root server fails 'an immediate increase in traffic at other servers'. Caching damps it. No balance point is given as such. (M49 specialist patch 2026-12-05) TsuNAME: two misc - same shape, opposite sign (partial)
One process, the answer to a query, with its sign reversed: the response that serves an asker floods a victim when the asker's address is forged (amplification about 28 to 54.6 times); the same lookup that gives a reachable address gives a non-routable one from a sinkhole. - same toolkit, independent builds (partial)
The DNS and Xerox's Grapevine/Clearinghouse were built separately from the same parts (hierarchy, replication, caching), weighted differently: 'heavy use of replication, light use of caching, and fixed number of hierarchy levels' in Xerox's. - seed (partial)
Seed check: maybe. A small, general mechanism (typed records on names) meant for 'other as yet undetermined information' unpacked into mail routing, blocklists, key distribution and content steering; but the designers also record that 'new types face a series of technical and political hurdles', so - symmetry breaking (name the cut) (partial)
The specification leaves the tree open ('do not mandate a particular tree structure or rules for selecting labels'); 'An administrative decision ... was made to make the top levels correspond to country codes or broad organization types', and the later debate over top-level structure follows that cu - The Payment to Entropy (partial)
Signal form. Every unanswered lookup is retried, and the retries are paid in packets that carry nothing usable: at MIT in 2000, '23% of lookups receive no answer; these lookups account for more than half of all traced DNS packets'. In 1988 '50% of all root server traffic could be eliminated' by bett - the whole sets the local reference (partial)
One root key is the reference every validator measures against: DNSSEC 'is rooted at the root DNS zone', published 15 July 2010. The owner of the data sets the TTL every cache counts down; each cache reads true locally, and caches need not agree at any moment ('changes to DNS records do not propagat - Umwelt: each system carves its own slice of one shared medium (partial)
Each asker gets its own slice of one name space: 'different users can simultaneously receive different translations for the same domain name' (content delivery networks); each resolver's cache is its own view, of different freshness. (M49 specialist patch 2026-12-05) Tailored answers rest partly on - cephalization (surface)
The first step of every cold lookup is the root, and the root is the most replicated part (13 addresses, about 1954 instances). Surface: caching means the root sees only a small share of lookups, and the input-first reason is not argued in the sources. - namespace completeness (the map predicts its gaps) (surface)
Authenticated denial of existence: DNSSEC's NSEC records state which names do not exist between two that do, so the signed zone says where its gaps are. A surface sighting: the structure shows its gaps, it does not predict members not yet found. (M49 specialist patch 2026-12-05) Two ways outsiders l - partner-becomes-part (surface)
Organisations of similar means 'form buddy systems', each serving as the other's secondary: a partner's server becomes one of the zone's listed name servers. Separate identities stay; surface.
Valence: what it trades, and with whom (19) published science
Each exchange with a neighbour, read from both sides: who gains, who pays, and what carries it.
- User Datagram Protocol (UDP) via Internet · Domain Name System mixed
- Human (Homo sapiens) via The world through the senses (sensory environment) · Domain Name System gain
- Internet via Electromagnetic field · Domain Name System gain
- Internet protocol suite (TCP/IP): the layered datagram protocols every host and router runs, the RFC record that specifies them, and the community that keeps them via Electromagnetic field · Domain Name System gain
- Operating system via Internet · Domain Name System gain
- Border Gateway Protocol via Internet · Domain Name System mixed
- Electronic mail via Domain Name System · Domain Name System even
- ICANN via Human society (from local community up to societies) · Domain Name System gain
- Botnet via Domain Name System · Domain Name System mixed
- Phishing via Internet · Domain Name System even
- Denial-of-service attack via Internet · Domain Name System loss
- Public key infrastructure via Domain Name System · Domain Name System even
- Cyber threat intelligence via Written record (durable external marks: texts, archives, canon) · Domain Name System gain
- Surveillance via Internet · Domain Name System loss
- Software update channel via Internet · Domain Name System gain
- Content delivery networks (steering users by DNS) via Internet · Domain Name System gain
- Transport Layer Security via Domain Name System · Domain Name System gain
- Email spam and its filtering via Domain Name System · Domain Name System mixed
- Email authentication via Domain Name System · Domain Name System even
Partners and parts published science
Built from / builds (11)
- Internet
- Resolvers (stub and recursive)
- Authoritative name servers (primary, secondary, stealth)
- Zones
- Caches
- Resource records
- Root name servers
- Registries
- Registrars
- DNSSEC (signatures and keys)
- Attackers on the validation path against domain validation
Sits inside / holds (3)
- Internet
- Internet protocol suite (TCP/IP): the layered datagram protocols every host and router runs, the RFC record that specifies them, and the community that keeps them
- Email authentication
expressed by (44)
- Generation/Synthesis
- Recombination/Composition
- Scaffolding/Enablement (Meta-Tooling)
- Templating / Standardization
- Quality Improvement/Refinement
- Interoperability/Transduction (Bridging)
- Encapsulation & Modularity (Abstraction)
- Amplification/Scale-Up (Manufacture & Distribution)
- Symbiosis/Co-Creation (Collaborative Specialization)
- Evolvability/Plasticity Engineering (Design for Future Variation)
- Distributed Autonomy/Decentralized Execution (Subsidiarity)
- Internal Coordination/Regulation
- Sensing/Scanning
- Mapping/Modeling
- Navigation/Pathfinding
- Uncertainty Reduction/Learning
- Surprise / Change-Point Detection
- Social Learning / Public Information Use
- Evade Detection
- Precision Attack
- Neutralize Defenses
- Resource Denial/Attrition
- Subversion & Co-optation
- Prepositioning & Latency
- Leverage Host/Amplification
- Cascade Induction
- Quick Harm Avoidance
- Reactive Response
- Proactive Defense
- Physical/Virtual Barrier
- Technique-Based Identification (a.k.a. Technique-Based Detection)
- Self-Monitoring
- Delay/Redirection Tactics
- Validation of Identity/Intention
- Validation of Effectiveness
- Enclave/Segregation
- Deception
- Resilience & Repair
- Redundancy & Diversity
- Altruistic Containment
- Quality Control & Error Correction
- Positional Identity (Body Map)
- Bridging Supply Gaps (Store & Dormancy)
- Scheduled Build-and-Dismantle (On-Demand Structure)
floor filled by (33)
- Internet
- User Datagram Protocol (UDP)
- Human (Homo sapiens)
- Written record (durable external marks: texts, archives, canon)
- Transmission Control Protocol (role: quanta, end-to-end reliability at the hosts)
- Internet Engineering Task Force (shell keeper: the codifier)
- Internet protocol suite (TCP/IP): the layered datagram protocols every host and router runs, the RFC record that specifies them, and the community that keeps them
- Time
- Border Gateway Protocol
- Electronic mail
- ICANN
- Transport Layer Security
- DNS sinkhole
- Resolvers (stub and recursive)
- Authoritative name servers (primary, secondary, stealth)
- Zones
- Caches
- Resource records
- Root name servers
- Registries
- Registrars
- DNSSEC (signatures and keys)
- Secondary (slave) server
- Top level domain
- DNS over HTTPS (DoH)
- Content delivery networks (steering users by DNS)
- DNS message
- SOA serial number
- BIND
- Botnet
- Public key infrastructure
- Business email compromise
- Email authentication
Kinds (6)
- CHAOS class
- Hesiod class
- Multicast DNS (mDNS)
- Alternative DNS roots (OpenNIC and others)
- Split-horizon DNS
- Certification Authority Authorization (CAA)
wired (1)
Notes published science
- The Internet's naming moved off a single text file because copying that file to every host cost bandwidth growing with the square of the number of hosts; by 1988 the new system already named over 20,000 hosts against 5,500 in the old file. (src:rfc1034, src:mockapetris-1988)
- The Internet's naming tree has exactly thirteen root server addresses because the original DNS answer had to fit in a 512-byte message: a limit in the message format set the shape of the top of the tree, though anycast put 1954 server instances behind those thirteen addresses as of December 2025. (src:wp:root-name-server, src:rfc1035)
- On 4 October 2021 Facebook's name servers were running fine but unreachable: a safety check made them stop announcing themselves when they lost touch with the data centres, so when the backbone went down every one went silent at once, and the loss of DNS broke the very tools the engineers needed to fix it. (src:janardhan-2021-fb)
Layers
The ways it takes in its world, where they meet, and how it acts back, each from L1 (where it meets the world) up.
the Domain Name System as network engineers describe it: messages on the network up to the consistent name space it keeps for the Internet's users (reader's view)
- L1: The network that carries DNS messages: IP datagrams, UDP on port 53 for most queries, TCP for long answers and zone transfers, and the encrypted transports (DoT, DoH, DoQ)
- L2: The DNS message and the resource record: a header with a 16-bit ID and flags, the question, answer, authority and additional sections; each record with name, type, class, TTL and data
- L3: Name servers and resolvers: stub resolvers in hosts, recursive caching resolvers (ISPs', public, home routers'), authoritative servers (primary, secondary, stealth), forwarders; queries, referrals and answers
- L4: The data held: zones (complete, authoritative descriptions of a section of the tree, with SOA serial and timers) and caches (copies kept for their TTL)
- L5: The delegated tree of zones: the root (13 letters, about 1954 instances by anycast), the top-level domains, and every zone below, joined by NS records and glue, and by DS records where signed
- L6: The administration: registries (whoever decides what goes into a zone), registrars, registrants, zone operators, root server operators, ICANN and IANA, the IETF
- L7: The purpose: one consistent name space for referring to resources (hosts, mail, services), the start of almost every Internet activity
the boardroom (shared floors)
- L3: The name servers and resolvers that take each message and decide: answer from authoritative data, answer from cache, refer, or go and ask (stub resolvers, recursive caching resolvers, authoritative primaries and secondaries, forwarders, the 13 root letters)
- L4: The data held: authoritative zones (with SOA serial and REFRESH, RETRY, EXPIRE) and caches (copies held for their TTL, negative answers included)
- L5: The delegated tree: the root zone, top-level domains and every zone below, joined by NS records, glue and (where signed) DS records
- L6: The administration: registries, registrars, registrants, zone operators, the root server operators, ICANN and IANA, and the IETF that writes the protocol
- L7: The purpose kept: one consistent name space for referring to resources, used by people and programs (web, mail, content delivery, blocklists)
way in: Abuse reports, blocklists and takedown orders acting on names
- L1: A name or address is reported or listed (spam, malware, botnet control)
- L2: The list is itself published in the DNS (a DNSBL) and queried by mail servers
- L3: A sinkhole operator or registry seizes the name and points it at a sinkhole
- L4: The delegation in the TLD zone is changed; names may later be released back to the market
way in: Answers and referrals coming back to a resolver from other servers
- L1: A UDP response arriving at the resolver's own outgoing port
- L2: Matched to the outstanding query by ID, port, question and source address; answer, authority (NS) and additional (glue) sections read; the AA bit says whether it is authoritative
way in: Floods aimed at name servers (denial of service)
- L1: SYN floods and query floods on port 53 from botnets
- L2: Ingress routers' queues overflow and drop legitimate queries; anycast catchments split the load among sites
way in: Forged responses racing the genuine answer (cache poisoning)
- L1: Spoofed UDP packets claiming to come from the authoritative server
- L2: Accepted only if ID and port match the outstanding query; the attacker must guess them (2^32 with random port and ID; 2^16 + 2^16 with a side channel)
- L3: A matching forgery is taken as the answer, and DNSSEC validation, where done, can reject it
way in: Keys and signatures (DNSSEC) from the root trust anchor down
- L1: The root zone's trust anchor: first published 15 July 2010, replaced for the first time in October 2018 by a scheduled, signalled roll (automated trust-anchor updates, RFC 5011), postponed a year after telemetry showed many resolvers held only the old key
- L2: Signature records travel with the data: RRSIG over each record set, DNSKEY for the zone's keys
- L3: A validating resolver checks the chain; 82-83% of resolvers asked for the records, 12% validated
- L4: The DS record in the parent zone links the child's key into the chain, often installed by hand through the registrar; RFC 7344's CDS/CDNSKEY records let the child signal its key through the DNS itself, where the parent reads them
way in: NOTIFY messages and zone transfers arriving at secondary servers
- L1: A NOTIFY (opcode 4) from a master, resent until acknowledged
- L2: The secondary asks its master for the SOA and compares serial numbers by sequence-space arithmetic
- L3: Full (AXFR) or incremental (IXFR) transfer over TCP
way in: Operators' and researchers' readings of the system (traffic reports, scans, passive DNS)
- L1: Root server logs and published traffic reports
- L2: Measured against expectations: half of root traffic avoidable (1988); lame delegations at 14% (2020)
- L3: Findings taken to operators, who change configuration (Uruguay's TTL, registrars' practice); root KSK telemetry led ICANN to postpone the 2017 roll
- L4: Zone and cache data read back by operators' own tools
- L5: Changes to delegations and server sets follow
way in: Proposals and standards from the IETF community
- L1: The RFC series: the 1983 and 1987 specifications and the later extensions
- L2: Implemented in server and resolver software (BIND from 1984 on)
- L3: New required behaviour in servers (for example TCP support in every implementation)
- L4: New record types in zones (DNSSEC's four)
- L5: Uptake across the tree, measured years later (DNSSEC 0.6-1.0% of .com/.org domains in 2016)
way in: Questions from clients (stub resolvers in hosts and applications)
- L1: A query in a UDP datagram (or a TCP stream) to port 53 of a resolver or name server
- L2: The message read: header with the 16-bit ID and flags (RD, CD), the question (QNAME, QTYPE, QCLASS)
way in: Registrations and changes from registrants, through registrars to registries
- L1: A registrant asks a registrar for a name (or changes its name servers or DS record)
- L2: The registrar passes it to the registry over EPP
- L3: The registry's database records the name, its state in the life-cycle and its name servers
- L4: The registry writes the delegation (NS, glue, DS) into the TLD zone
way in: Takeovers of registrar accounts and name-server hosting (hijacking)
- L1: Credentials for a domain holder's registrar account, or the registrar itself, compromised
- L2: The registry accepts the change as from the legitimate registrar
- L3: Delegation for chosen subdomains points at the attacker's servers, briefly
- L4: Stale or dangling records left in zones give the same foothold without a theft
way in: Time passing against TTLs and the SOA timers
- L1: Seconds elapse; TTLs are held as if continuously counted down
- L2: A TTL reaches zero, or a REFRESH, RETRY or EXPIRE interval runs out
- L3: The cached record is dropped (or served stale), or the secondary checks its serial, or discards an expired zone
way in: Zone edits by the zone's administrator (the authored content)
- L1: The master file: the zone's records written as text by an administrator (or added by UPDATE)
- L2: The serial number in the SOA advanced with every change
- L3: The primary master loads the new zone
way out: Answers back to the asker
- L1: A UDP datagram (or TCP segment) back to the asker's address and port
- L2: Response message: answer, authority and additional sections; TC set if it will not fit
- L3: The server composes the answer from zone or cache, sets AA when authoritative
way out: Blocking answers: blocklist codes and sinkhole addresses
- L1: Sent to the querying mail server or bot
- L3: A server answers with a listing code or a non-routable address
- L4: The list or sinkhole zone holds the entry
- L6: An operator or a seizure decides a name or address is bad
way out: Delegations published by registries (NS, glue, DS in the parent zone)
- L1: Sent to every resolver that asks
- L2: Referral responses with the authority and additional sections filled
- L3: Served by the parent's authoritative servers as referrals
- L4: The parent zone's data now holds the NS set and glue
- L5: The parent marks a zone cut for the child
way out: New and revised standards written back into the RFC series
- L1: Published as an RFC that updates RFC 1034 and 1035
- L6: Operators and implementers agree a change in the IETF
way out: Queries sent onward by a recursive resolver (root, then TLD, then the domain's servers)
- L1: UDP query to the next server: on a cold cache the root first; a warm resolver starts at the closest zone cut it already holds
- L2: A query with a fresh random ID, from a random source port, perhaps with the name minimised
- L3: The resolver picks the closest known servers for the name from its cache or root hints
way out: Reflected, amplified answers toward a spoofed victim (an outlet the system's openness lends to attackers)
- L1: Sent to the victim whose address was forged
- L2: The answer is many times the query (about 28 times from open resolvers; 54.6 for ANY to signing servers)
- L3: An open resolver or authoritative server answers a forged query
way out: Route withdrawal by name-server sites under stress or when unhealthy (anycast)
- L1: The BGP route for the server's prefix is withdrawn; traffic moves to other sites, or nowhere
- L3: A site judges itself overloaded or cut off
way out: The zone sent out to secondaries (NOTIFY, then AXFR or IXFR)
- L1: TCP to each secondary that asks
- L2: The difference sequences or the full zone, framed for TCP
- L3: NOTIFY to every secondary, spread at random, resent up to 5 times at 60 s
- L4: The primary master's zone with its new serial
zone content distribution: one authored zone copied from its primary server out to many secondary servers (secondary stack)
- L1: The authored zone: one administrator's master file, the original copy
- L2: The version mark: the SOA serial, advanced on every change and compared by serial-number arithmetic
- L3: Discovery: NOTIFY pushed from the master (an interrupt), with REFRESH polling as the fallback
- L4: The check: each secondary asks the master for the SOA and compares serials before fetching
- L5: The copy: full (AXFR) or incremental (IXFR) transfer over TCP; whole-zone fallback when increments are missing; access limited to authorised peers (TSIG) where configured; integrity of the content itself, separate from the session: ZONEMD digests the zone at rest (RFC 8976)
- L6: Many independent servers, placed far apart, now answer with the same data; a secondary that cannot check for EXPIRE seconds discards its copy; copies also reach resolvers, which may serve the whole root zone locally (RFC 8806); which zones a secondary carries can itself be distributed as a catalog zone (RFC 9432)