DNS stands for Domain Name System. In Wikipedia, the following is stated in the introduction about it:
The Domain Name System (DNS) is a hierarchical and distributed name service that provides a naming system for computers, services, and other resources on the Internet or other Internet Protocol (IP) networks. It associates various information with domain names (identification strings) assigned to each of the associated entities. Most prominently, it translates readily memorized domain names to the numerical IP addresses needed for locating and identifying computer services and devices with the underlying network protocols.[1] The Domain Name System has been an essential component of the functionality of the Internet since 1985. Source: Wikipedia: DNS
It is basically the “phone book of the internet”.
It translates human-readable names into machine-readable IP addresses.
Example:
google.com → 142.250.x.x
tux.re → 167.114.0.4
Without DNS, you would need to type IP addresses manually for every website.
You type a domain in your browser
Your computer asks a DNS resolver
The resolver checks if it already knows the answer
If not, it queries other DNS servers
It returns the correct IP address
Your browser connects to the server
1. Resolver
The first stop. Usually provided by your ISP or services like Cloudflare or Google DNS.
2. Root DNS servers
Top-level servers that know where TLD servers are.
3. TLD servers
Handle domains like:
.com
.org
.net
.re
4. Authoritative DNS server
The final source that holds the real record for a domain.
Without DNS:
You couldn’t use domain names
The internet would be hard to navigate
Every service would require raw IPs
DNS makes the internet usable for humans.
DNS is also a target for attacks:
DNS spoofing (fake responses)
Cache poisoning
Man-in-the-middle attacks
That’s why modern systems often use:
DNS over HTTPS (DoH)
DNS over TLS (DoT)
When you open a website like:
https://tux.re
DNS is the first system that makes this possible. Without it, your browser would not know where to connect.