Domain Name System

Edit · View history

Domain Name System

The Domain Name System (DNS) is a hierarchical, decentralized naming system for computers, services, or other resources connected to the Internet or a private network. It translates human-readable domain names (e.g., example.com) into numerical IP addresses (e.g., 192.0.2.1), enabling users to access websites and online services without memorizing numeric addresses. DNS is often described as the "phonebook of the Internet."

History

Before DNS, the ARPANET used a simple text file called HOSTS.TXT maintained by the Stanford Research Institute. As the network grew, this manual method became unsustainable. In 1983, Paul Mockapetris designed the first DNS specification, published in RFC 882 and RFC 883. The system replaced the hosts file with a distributed, hierarchical architecture. In 1987, the core specifications were updated in RFC 1034 and RFC 1035, which remain the foundation of DNS today. The Internet Corporation for Assigned Names and Numbers (ICANN) coordinates the DNS root zone, while domain name registries and registrars manage Top-level domains (TLDs) like .com, .org, and country-code TLDs.

How It Works

DNS operates using a tree-like structure. At the top is the root zone, served by 13 root server clusters. Below are Top-level domains (e.g., .com, .net) and second-level domains (e.g., example in example.com). When a user types a URL into a browser, the system performs a DNS lookup:

Results are cached at various levels to improve performance and reduce network traffic.

Features

DNS is designed to be highly scalable, fault-tolerant, and distributed. No single server holds the entire database; instead, responsibility is delegated across millions of servers worldwide. Key features include:

Common record types include A record, AAAA record, CNAME record for aliases, MX record for mail servers, NS record for authoritative nameservers, and TXT record for arbitrary text (often used for verification and email security).

See also