How does the Domain Name System work?

What is the Domain Name System?

The Domain Name System, or the DNS for short, is an organized namespace that uses a decentralized model. Its main purpose is to navigate queries, find the host they are searching for, and answer them quickly. The DNS came in the 80s to replace the inefficient HOSTS.txt file that had all the current hosts at the time. The DNS is superior thanks to the scalability and speed.