Computer ScienceNetworking & SystemsEasy

DNS (Domain Name System)

Also known as:Domain Name ServiceName Resolution System

The Domain Name System (DNS) is a hierarchical, distributed naming system that translates human-readable domain names (such as www.google.com) into numerical IP addresses (such as 142.250.195.68) that computers use to communicate. Often described as the "phone book of the internet," DNS makes it possible for users to access websites using memorable names instead of numeric addresses. DNS queries are typically resolved through a chain of DNS servers including recursive resolvers, root servers, TLD servers, and authoritative name servers.

DNS Record Types

Record TypeFull NamePurposeExample
AAddress RecordMaps domain to IPv4 addressexample.com → 93.184.216.34
AAAAIPv6 Address RecordMaps domain to IPv6 addressexample.com → 2606:2800::1
CNAMECanonical NameAlias for another domainwww → example.com
MXMail ExchangeDirects email to mail servermail.example.com
TXTText RecordStores arbitrary textSPF, DKIM verification

Interactive Tools

MXToolbox DNS Lookup

Free online tool to query DNS records for any domain

Open Tool

Khan Academy — Domain Name System

Illustrated explanation of how DNS resolution works

Open Tool

Brilliant.org

Deep-dive into DNS architecture and resolution process

Open Tool
DNS domain name space hierarchy diagram

Wikimedia Commons, CC BY-SA

Related Terms

Computer Science

IP Address

An IP (Internet Protocol) address is a unique numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. IPv4 addresses are 32-bit numbers typically written in dotted-decimal notation (e.g., 192.168.1.1), providing approximately 4.3 billion unique addresses, while IPv6 addresses are 128-bit numbers written in hexadecimal (e.g., 2001:0db8:85a3::8a2e:0370:7334) to accommodate the growing number of internet-connected devices. IP addresses serve two principal functions: host or network interface identification and location addressing.

Computer Science

TCP/IP Protocol

TCP/IP (Transmission Control Protocol/Internet Protocol) is the foundational suite of communication protocols used to interconnect network devices on the internet and most private networks. TCP handles reliable, ordered delivery of data by breaking messages into packets, acknowledging receipt, and retransmitting lost segments, while IP handles addressing and routing each packet to its destination. Together they form the backbone of modern digital communication, enabling everything from web browsing to email.

Computer Science

HTTP

HTTP (HyperText Transfer Protocol) is an application-layer protocol that defines how messages are formatted and transmitted between web browsers (clients) and web servers. It operates as a request-response protocol: a client sends an HTTP request (e.g., GET, POST, PUT, DELETE) and the server returns an HTTP response with a status code and the requested resource. HTTPS is the secure version of HTTP, adding TLS encryption to protect data in transit.

DNS was designed by Paul Mockapetris and Jon Postel and published in RFC 882 and 883 in 1983. "Domain" derives from Latin dominium (ownership, territory); "Name" from Latin nomen; "System" from Greek systema (organised whole). The term reflects the hierarchical organisation of internet naming into domains and subdomains.

dnsnetworkingdomainip-addressinternetname-resolution