Kelly Mears

Domain Name System

The distributed directory translating names to addresses, and the layer where propagation delays live.

Systems & Tooling2 min read219 words14 out · 24 in
also calledDNSSubdomain

The Domain Name System is the distributed database that turns names into addresses. A resolver walks from the root through each label to the authoritative server for the zone, caching results for the duration each record specifies.

Caching is the source of nearly every DNS frustration. A record's time-to-live governs how long resolvers may keep it, so a change is not instant and is not uniform — different people see different answers for a while. Lowering the time-to-live before a planned change is the standard preparation, and it has to happen before, since the old value is already cached.

The common record types are few: an address record, an alias record pointing one name at another, mail routing, and text records used for verification and policy. Provider-specific variants exist to work around the rule that an alias cannot coexist with other records at a zone's apex.

Subdomains are the practically important structure. They are ordinary names under a zone and can point anywhere, which makes them the natural mechanism for multi-tenant systems — each tenant addressed by name, with a wildcard record and a wildcard certificate covering them all. That certificate is usually the part that has to be provisioned deliberately rather than automatically, since proving control of a wildcard requires a DNS-based challenge. See Multi-Tenancy and Same-Origin Policy.

See also12

Port

The numeric endpoint a network service listens on, and a scarce shared resource on a developer machine.

Systems & Tooling19 connections

Cache Invalidation

Deciding when a cached value has stopped being correct — famously one of the hard problems.

Web Platform30 connections

Virtual Private Network

An encrypted tunnel that presents a remote network as local, and the narrow set of things a commercial one actually hides.

Networks & Distribution22 connections

Caller ID Authentication

Cryptographic attestation of an originating telephone number, and why spoofed calls survive it.

Networks & Distribution17 connections

eSIM

A SIM soldered into the device and provisioned over the air, with profiles downloaded rather than cards swapped.

Networks & Distribution12 connections

Least Privilege

Granting only the permissions actually required, so a compromise has a small ceiling.

Systems & Tooling38 connections

Hash Function

A function mapping arbitrary input to a fixed-size digest, used for identity, integrity, and addressing.

Systems & Tooling30 connections

Secret Management

Storing, distributing, and rotating credentials without embedding them in code or history.

Systems & Tooling33 connections

Multicast DNS

How devices on a local network find each other by name, and discover printers, speakers, and screens, without any server or configuration, by asking everyone at once.

Networks & Distribution8 connections

Top-Level Domain

The last part of a domain name, such as .com or .uk, organized in 1984 into a handful of generic names plus one per country, then opened to over a thousand new names and a source of income for some small nations.

Networks & Distribution7 connections

Loopback

The network address a computer uses to talk to itself, where packets go out and come straight back without touching any hardware, the home of development servers and a recurring blind spot in security.

Networks & Distribution12 connections

Internationalized Domain Name

Domain names written in non-Latin scripts and accented letters, made to work in an ASCII-only DNS by encoding them as xn-- strings, and the browser rules that decide when to show the real characters and when to show the code to block lookalike attacks.

Web Platform10 connections

Linked from24