Skip to content
Help Center

What is DNS and how does it connect a domain to hosting?

DNS: what it is, what it's for, and how it relates to domains and DNS within a hosting service.

Quick summary

  • What it is: DNS (Domain Name System) is one of the fundamental components of Internet infrastructure.
  • What it's for: it helps connect the domain with the website, email and other associated services.
  • When to check it: when changing DNS servers, connecting a domain, configuring email or reviewing propagation.

The DNS (Domain Name System) is one of the fundamental components of Internet infrastructure. It acts as a phone directory for websites, converting human-readable domain names, such as "www.example.com", into numeric IP addresses that computers use to identify and locate each device on the network.

How DNS works:

  • Name resolution: When you type a domain name in your browser, DNS translates this name into the corresponding IP address so the browser can load the website content.
  • Hierarchy: The DNS system is structured hierarchically. At the top are the root name servers, followed by the top-level domain name servers (TLD, such as .com, .org, .net), and finally the authoritative domain name servers for specific domains.
  • Cache: DNS query results are often cached both in the user's browser and in intermediate servers, which helps reduce the load on DNS servers and speed up subsequent requests for the same domain names.

Key components of DNS:

  • Root name server: A server that contains the complete database of Internet domain names and their associated IP addresses. It is the first step in name queries to resolve any domain.
  • TLD name server: Manages information for a specific top-level domain, such as .com, .edu, .gov, etc.
  • Authoritative name servers: These are the DNS servers that maintain specific DNS records for a domain. These servers respond with the IP address when they receive a DNS query for their domain.

Common types of DNS records:

  • A Record: Maps a domain name to an IPv4 address.
  • AAAA Record: Maps a domain name to an IPv6 address.
  • CNAME Record: Redirects a domain name to another domain name.
  • MX Record: Specifies the mail servers that will receive email on behalf of a domain.
  • TXT Record: Allows administrators to insert arbitrary text into the DNS record; commonly used to verify domain ownership.

Importance of DNS:

DNS is crucial because it provides the functionality needed for the Internet to be usable and accessible to humans. Without DNS, we would have to remember the numeric IP addresses of every website we wanted to visit, which would be extremely difficult. Furthermore, DNS is vital for the operation of email services and many other services that depend on name resolution.

Why it matters in hosting

Understanding this concept will help you make better decisions when managing your service. In practice, it relates to the connection between the domain, the website, email and other associated services. If it appears in a guide, the control panel or a support response, review the context before making changes.

Related articles

  • Domain
  • Nameservers
  • A Record
  • CNAME Record
  • MX Record