Skip to main content
Print

What Is DNS and How Does It Work?

DNS (Domain Name System) is the address book of the internet. It translates a domain name such as xitens.nl into the IP address of the server that runs a website or email. Without DNS you would have to remember a series of numbers for every website. In this article you read how DNS works and which DNS records you come across most often.

How does DNS work?

When you open a website, the following happens in a fraction of a second:

  1. Your browser asks a DNS resolver, usually from your internet provider, which IP address belongs to the domain name.
  2. The resolver asks the root servers and the servers of the extension, such as .nl, which nameservers are responsible for the domain.
  3. The nameserver of the domain returns the correct IP address.
  4. Your browser connects to that IP address and loads the website. The answer is kept in the cache for a while, so the next visit is faster.

The most important DNS records

  • A record: links a domain name to an IPv4 address.
  • AAAA record: links a domain name to an IPv6 address.
  • CNAME record: points a subdomain to another domain name.
  • MX record: determines which mail server receives the email for your domain.
  • TXT record: contains text, for example for SPF, DKIM or verifying your domain.
  • NS record: indicates which nameservers manage the domain.

What is DNS propagation?

When you change a DNS record or the nameservers, it takes a while before DNS servers worldwide use the new data. This is called DNS propagation. A change is usually visible everywhere within a few hours.

Video: how DNS works

SIDN, the registry of the .nl extension, explains step by step in this video how DNS works:

Related articles

Table of Contents