Domain Name System
From WikiTech, the free technology encyclopedia
Internet system that turns names into IP addresses
8 sources from IETF, Root Server Operators and ICANN. Checked by ByteExplained editors on 3 December 2026. How we check facts
The Domain Name System (DNS) is the naming system 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 November 1987 in RFC 1034 and RFC 1035, written by Paul Mockapetris of the Information Sciences Institute (ISI).[1][2]
Contents
History
Before DNS, the names and addresses of computers on the network were kept by the Network Information Center in a single file, HOSTS.TXT, which every host had to download. As the network grew, this became slow and costly, and local organisations wanted to manage their own names without waiting for a central update. DNS was designed to replace the single file with a distributed system.[1]
The design was meant to be extensible: RFC 1034 notes that new data types and functions would keep being proposed while the core protocol stayed stable.[1] It has since been updated by many later documents from the Internet Engineering Task Force.[1]
How a lookup works
Names form a tree. Each part of a name, read from right to left, narrows the search: .com is a top-level domain, and byteexplained.com sits beneath it.[1] A typical lookup goes like this:
- 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 faster.
No single computer holds every name; each organisation runs the servers for its own part of the tree.[1] DNS messages are normally sent over UDP or TCP on port 53.[2]
Root servers
The top of the tree is served by 13 root name servers, labelled A to M and run by 12 independent organisations, including Verisign, NASA, the RIPE NCC and ICANN. Each one is copied across many locations: by late 2026 the system had more than 2,000 operational instances worldwide.[3] Root servers are consulted relatively rarely, because resolvers remember the addresses of top-level domains once they have learned them.[4]
Who runs it
ICANN, formed in 1998, coordinates the system. Each top-level domain such as .com or .org is run by a company called a registry, which ICANN contracts with; domain names are sold to the public by registrars, which ICANN accredits. ICANN also acts as the central pool from which blocks of IP addresses are handed to regional registries.[4]
Common record types
DNS stores different kinds of information in resource records:[2][5]
| Record | Purpose |
|---|---|
| A | IPv4 address of a host |
| AAAA | IPv6 address of a host |
| CNAME | Canonical name for an alias |
| MX | Mail server for the domain |
| TXT | Free-form text strings |
The MX record is what lets Email for a domain reach the right mail server.[2] The AAAA record type was standardised in 2003 so that DNS could support IPv6.[5]
Security and privacy
The original DNS had no way to prove that an answer was genuine. The DNS Security Extensions (DNSSEC), described in RFC 4033 (2005), add data origin authentication and data integrity, so a resolver can check that an answer really came from the right source and was not altered.[6]
Classic DNS queries are also unencrypted, so others on the network can see which sites you look up even when the pages themselves use HTTPS. DNS over TLS (RFC 7858, 2016) wraps queries in Transport Layer Security to prevent eavesdropping and tampering,[7] and DNS over HTTPS (RFC 8484, 2018) sends each query and response as an ordinary HTTPS exchange.[8]
See also
References
- ^ RFC 1034: Domain Names — Concepts and Facilities. IETF. 1987. rfc-editor.org
- ^ RFC 1035: Domain Names — Implementation and Specification. IETF. 1987. rfc-editor.org
- ^ Root Server Technical Operations Association. Root Server Operators. root-servers.org
- ^ What Does ICANN Do?. ICANN. icann.org
- ^ RFC 3596: DNS Extensions to Support IP Version 6. IETF. 2003. rfc-editor.org
- ^ RFC 4033: DNS Security Introduction and Requirements. IETF. 2005. rfc-editor.org
- ^ RFC 7858: Specification for DNS over Transport Layer Security (TLS). IETF. 2016. rfc-editor.org
- ^ RFC 8484: DNS Queries over HTTPS (DoH). IETF. 2018. rfc-editor.org





