This is an old version, saved 2 Dec 2026, 14:21 by ByteExplainededitors. See the current version.
Domain Name System
The Domain Name System (DNS) is the directory of the internet. When you type a name such as byteexplained.com, DNS finds the IP address of the server that hosts it, so your device knows where to connect. Its core design was published in 1987 in RFC 1034 and RFC 1035.[1]
How a lookup works
- Your device asks a resolver — usually run by your internet provider, or a public one you chose.
- If the resolver doesn't already have the answer stored, it asks a root server, which points to the servers for the top-level domain (such as
.com). - Those point to the domain's authoritative name servers, which give the final answer.
- The resolver passes the answer back and keeps it for a while (caching), so the next lookup is instant.
The whole system is a distributed hierarchy: no single computer holds every name.[1]
Who runs it
ICANN, founded in 1998, coordinates the system. It contracts with the registries that run top-level domains such as .com and .org, accredits the registrars that sell domain names, and coordinates the distribution of IP address blocks.[2]
Common record types
| Record | Purpose |
|---|---|
| A / AAAA | IPv4 / IPv6 address |
| CNAME | Alias to another name |
| MX | Mail server for the domain |
| TXT | Free text, often used to prove ownership or set email security |
Privacy
Classic DNS queries are unencrypted, so your network can see which sites you look up even when the pages use HTTPS. DNS over HTTPS (DoH) and DNS over TLS encrypt these lookups.
See also
References
- ^ RFC 1034: Domain Names — Concepts and Facilities. IETF. 1987. rfc-editor.org
- ^ What Does ICANN Do?. ICANN. icann.org