Domain Name System
Also known as: DNS
Hierarchical, distributed naming system that translates human-readable domain names into the numeric IP addresses computers use to find each other.
The Domain Name System (DNS) is often described as the internet's phone book. When a user types a name such as example.org, software asks DNS for the corresponding IP address, along with other information such as mail servers. The system is hierarchical: root servers point to servers for top-level domains like .org or .uk, which point to authoritative servers for individual domains. Recursive resolvers, usually run by internet providers or public services, perform these lookups on behalf of devices and cache answers for a period set by each record's time-to-live.
Paul Mockapetris designed DNS, with specifications published in 1983 as RFC 882 and RFC 883 and revised in 1987 as RFC 1034 and RFC 1035, replacing a single shared hosts file that could no longer keep up with the growing network. Records come in types, including A and AAAA for IPv4 and IPv6 addresses, CNAME for aliases, MX for mail and TXT for text used in verification and email security. Coordination of the root zone and top-level domains falls under ICANN, and the root is served by thirteen named server identities operated by a dozen organizations through many distributed instances.
DNS was designed without authentication or encryption, which exposes it to spoofing, cache poisoning and surveillance. DNSSEC adds digital signatures that let resolvers verify answers, while encrypted DNS protocols such as DNS over HTTPS and DNS over TLS protect queries from eavesdropping. Because nearly every connection begins with a lookup, DNS is also used for filtering, as in DNS sinkholes that block advertising and malware domains, and for censorship. Misconfigured DNS is a frequent cause of outages, and resolver logs reveal a great deal about user behavior.
Key points
- DNS translates domain names into IP addresses through a hierarchy of root, top-level and authoritative servers.
- Paul Mockapetris designed DNS, first specified in 1983 in RFC 882 and RFC 883.
- Resolvers cache answers for a time set by each record's time-to-live value.
- DNSSEC adds authenticity, while DNS over HTTPS and DNS over TLS add confidentiality.
Related entries
TCP/IP
Suite of communication protocols, centered on the Transmission Control Protocol and Internet Protocol, that defines how data moves across the internet.
ICANN
Nonprofit organization that coordinates the internet's unique identifiers, including domain names, top-level domains and IP address allocation.
Encrypted DNS
Methods such as DNS over HTTPS and DNS over TLS that encrypt domain name lookups, hiding them from eavesdroppers on the network path.
DNS Sinkhole
DNS server configured to return false or blocked answers for selected domains, used to stop malware communication or block ads and trackers.
Pi-hole
Network-wide ad and tracker blocker that acts as a DNS sinkhole, filtering requests for every device on a home or office network.
WHOIS
Query protocol and lookup service that returns registration details for internet resources such as domain names and IP address blocks.
Internet Engineering Task Force
Open standards organization that develops the technical specifications for core internet protocols and publishes them as Requests for Comments.
Content Delivery Network
Geographically distributed network of servers that caches and delivers web content from locations close to users to improve speed and reliability.
Featured in guides
Referenced by
Other entries that discuss or point to Domain Name System.