DNS - Domain Name System
Definition
Domain Name System (DNS)
Enables the translation from a human-readable domain name to a machine-readable IP address
Example
google.com -> 142.251.167.100
Command
nslookup (e.g., $ nslookup google.com)
Algorithm
Operates using a recursive, hierarchical lookup, sequentially querying each domain level until the authoritative record is retrieved.
![]()
From Wikipedia
In given example
- The user attempts to access
fr.wikipedia.org, triggering a DNS resolution request. - The DNS resolver queries the
root NS, orroot name server(herea.root-servers.net) to identify.orgtop-level domain authority. - root NS (
a.root-servers.net) replies specifying the authoritative server for .org domain names (herea0.org.afilias-nst.info). - The resolver queries said server (
a0.org.afilias-nst.info) forfr.wikipedia.org. a0.org.afilias-nst.infoanswersns0.wikimedia.orgis in charge of wikipedia.org domain.- The resolver queries
ns0.wikimedia.orgforfr.wikipedia.org's IP address. ns0.wikimedia.orgreturns91.198.174.232.- The resolver delivers the IP address to the end user.
Note : In the referenced diagram, the DNS resolver is labeled Serveur DNS récursif
Structure
The DNS architecture is based on a distributed, tree-like model, structured around root servers, top-level domains, and authoritative name servers.

From Wikipedia