What is DNS?
How the Domain Name System turns domain names into IP addresses
The Domain Name System (DNS) lets people reach websites and other services by name instead of by IP address. It translates a domain name such as example.com into the IP address of a server and provides other information, for example which mail server receives email for the domain.
How DNS works
When you enter an address such as https://www.example.com in your browser, your device asks a resolver, usually run by your internet provider or a public DNS service. If the resolver does not have the answer in its cache, it asks the DNS hierarchy: the root nameservers, then the nameservers of the TLD (.com), then the authoritative nameservers of the domain. The resolver returns the IP address to your device, and your browser then connects to that server. This usually takes only milliseconds.
Why DNS is important
Without DNS, everyone would have to type numerical IP addresses instead of names that are easy to remember. DNS also makes it possible to move a website to another server without changing its address: you only change the DNS record.
Learn more
Zones, record types, TTL and how to check DNS with dig are explained in the DNS Management Guide. The most common records are described in What are DNS Records?