Knowledge base

1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!

Understanding the difference between Domain and DNS zone

This guide explains how a domain name and a DNS zone work.

 

Preamble

  1. When you browse a website https://www.abc123.xyz for example, abc123.xyz is the domain name.
  2. Each domain name has DNS (Domain Name System), which indicate where (with which provider, for example) the DNS zone is located.
  3. The DNS zone then allows the management of various services related to the domain name to be delegated to different providers.
    • For a single domain name, it is possible, for example, to delegate:
      • web hosting to provider X (via the "A" type record)
      • and the Mail Service to provider Y (via the "MX" type record)

 

Domain name, DNS and DNS zone, then services

Who manages what?

  1. Each domain name is reserved and managed by a registrar (registration office). For example, Infomaniak is a registrar, one of the cheapest in Switzerland.
  2. The DNS of a domain name are configured with the registrar managing the domain name.
  3. The DNS zone can be managed by the registrar or another provider.
  4. Web hosting and the Mail Service can be managed by any host.

In the most complex case, it is therefore possible to have 1 different provider for the following services: domain name reservation and DNS management, DNS zone management, web hosting, Mail Service.

The following diagram summarizes these different possibilities with the involvement of different providers:

 

Infomaniak

As a registrar and host, Infomaniak can manage all these services. This is the simplest solution.

And in these DNS zones, to redirect traffic to services, we distinguish:

  • an MX record that allows you to point a domain name (domain.xyz for example) to a mail server.
  • an A record that allows you to point a domain name (domain.xyz for example) or a subdomain (example.domain.xyz for example) to a Web server that has a static IP address (otherwise you would have to constantly edit the A record to provide the new IP address - refer to this other guide on this subject)

 

Possible situations

Examples and fictitious names

All services are with Infomaniak
domain namedomain.xyzregistered with ->Infomaniak
DNS of the domain namens1.infomaniak.com…so the DNS zone must exist with ->Infomaniak
website hosted by ->Infomaniakso the DNS zone must contain A record123.45.67.8 for example
mail hosted by ->Infomaniakso the DNS zone must contain MX recordmx-mail.maniak for example

 

All services are with Infomaniak except the mail
domain namedomain.xyzregistered with ->Infomaniak
DNS of the domain namens1.infomaniak.com…so the DNS zone must exist with ->Infomaniak
website hosted by ->Infomaniakso the DNS zone must contain A record123.45.67.8 for example
mail hosted by ->Medical Serviceso the DNS zone must contain MX recordmed-mx.net for example

 

All services are with Infomaniak except the website
domain namedomain.xyzregistered with ->Infomaniak
DNS of the domain namens1.infomaniak.com…so the DNS zone must exist with ->Infomaniak
website hosted by ->Clinicso the DNS zone must contain A record9.87.65.4 for example
mail hosted by ->Infomaniakso the DNS zone must contain MX recordmx-mail.maniak for example

 

All services are with Infomaniak except the domain name
domain namedomain.xyzregistered with ->GoMamie
DNS of the domain namens1.infomaniak.com…so the DNS zone must exist with ->Infomaniak
website hosted by ->Infomaniakso the DNS zone must contain A record123.45.67.8 for example
mail hosted by ->Infomaniakso the DNS zone must contain MX recordmx-mail.maniak for example

 

All services are with Infomaniak except the DNS zone
domain namedomain.xyzregistered with ->Infomaniak
DNS of the domain namens.privateDNS.org…so the DNS zone must exist with ->Private DNS
website hosted by ->Infomaniakso the DNS zone must contain A record123.45.67.8 for example
mail hosted by ->Infomaniakso the DNS zone must contain MX recordmx-mail.maniak for example

 

No service exists with Infomaniak except the domain name
domain namedomain.xyzregistered with ->Infomaniak
DNS of the domain namens.privateDNS.org…so the DNS zone must exist with ->Private DNS
website hosted by ->Clinicso the DNS zone must contain A record9.87.65.4 for example
mail hosted by ->Medical Serviceso the DNS zone must contain MX recordmed-mx.net for example

 

No service exists with Infomaniak except the DNS zone
domain namedomain.xyzregistered with ->GoMamie
DNS of the domain namens1.infomaniak.com…so the DNS zone must exist with ->Infomaniak
website hosted by ->Clinicso the DNS zone must contain A record9.87.65.4 for example
mail hosted by ->Medical Serviceso the DNS zone must contain MX recordmed-mx.net for example

 

No service exists with Infomaniak except the mail
domain namedomain.xyzregistered with ->GoMamie
DNS of the domain namens.privateDNS.org…so the DNS zone must exist with ->Private DNS
website hosted by ->Clinicso the DNS zone must contain A record9.87.65.4 for example
mail hosted by ->Infomaniakso the DNS zone must contain MX recordmx-mail.maniak for example

etc.


Has this FAQ been helpful?