1. Home
  2. Domains
  3. How to Manage DNS

How to Manage DNS

Overview

The purpose of this article is to explain how to manage DNS.

Please note that a delay between the modification and the time it is taken into consideration is always possible.

Warning: We offer the possibility to modify your DNS zone, but this option is for experienced users only: you could break some vital functions of your hosting by doing so. If you have to modify your DNS zone, we strongly recommend to not erase the data that already exists.

Note :The Glossary contains explanations on multiple topics and can be consulted to clarify certain terms.

Prerequisite

Access to https://mg.n0c.com/en/.

DNS in a Nutshell

Before explaining the DNS management, some basic notions have to be understood to grasp this article.

Main Function of a DNS Server

DNS means Domain Name System.

A website is located on a server identified by an IP address. The IP address works well for computers but it is difficult to remember for humans: that is why the DNS protocol was developed.

Technically speaking, the DNS is in fact a database that associates domain names with IP addresses. This is why the DNS is often compared to a telephone directory that associates persons names (equivalent to domains) with telephone numbers (equivalent to IP addresses).

For example, if web users want to go to Google’s website, they will not type in the IP address, as it is too complex. Instead, they will type in the domain name that has been assigned to the website, namely “google.com” in our exemple. The DNS server will convert the domain name entered by the user into an IP address that will allow to obtain the site data.

The DNS makes it possible, in particular, to reach the web server of a specific domain or a mail server to which a user wishes to send an e-mail message.

AFNIC has published a short video explaining the DNS very well. You can watch it in French by entering this address in your browser: https://youtu.be/dcIrB8qRCbA.

DNS recording

A DNS recording is a string of letters — the syntax — which dictates the actions of a DNS server. 

DNS Records Types

The following table provides the definition of DNS records you can use in N0C.

TypeMeaningDescription
A and AAAAAddress“A” maps domain names to a server IP address (typically, IPv4 32 bits addresses). « AAAA » maps domain names to 128 bits IPv6 addresses.
CNAMECanonical nameRedirects a domain to a different domain. It indicates that the domain name is an alias of another canonical domain name. CNAME is often used to associate new sub-domains with an A recording of an existing domain.
CAACertification Authority AuthorizationAllows domain name owners to specify which Certificate Authorities (CAs) are allowed to issue certificates containing their domain names.
DSDelegation SignerContains the name of a delegation zone: this allows to transfer with confidence from a parent zone to a child zone.
MXMail ExchangeUsed to direct e-mails sent to personalized addresses associated to a domain name.
PTRPointer RecordResponsible to map an IPV4 address to a CNAME record on the host.
NSName serverIndicates which server name has authority over the domain.
SOAState of AuthorityRecords essential information such as when the domain was last updated, as well as its changes and other activities.
SRVServiceUsed to define a TCP service on which the domain operates. It defines the location (the host name and port number of the servers for the specified services.).
TXTTextUsed to facilitate the search of the domain.

How to Modify a DNS Record

  1. In the Sidebar menu, select Domains -> Domain Management.
  2. In Domain Management window, identify the domain needing its DNS to be managed (use the Search field if needed).
  3. Click on the DNS button:
  1. In the DNS Management window, identify the NAME of the DNS record to modify:
  1. Click on the Edit icon.
  1. In the Edit DNS record window, fill in the requested information in the fields, which vary depending on the type of record (see the table in the “Description of DNS Recording Fields” section):
  1. Click on the Edit button.

Description of DNS Recording Fields

FieldTypes Using the FieldField Description
TITLEAllField name (for exemple, “test”, resulting in “test.NOM-DE-DOMAINE.COM”)
TTLAllTime To Live : means how long to keep the DNS entry cached. The higher the value, the longer the DNS resolution will be kept in cache.
IPAIP address on which the field will resolve (IPv4).
IPAAAAIP address on which the field will resolve (IPv6).
VALUECNAMEName of the canonical domain to which the subdomain or domain points.
DOMAINMXPersonalized address associated with the domain name to which to direct emails. The domain name must be fully qualified.
KEYTAGDSShort numeric value that can quickly identify the referenced DNSKEY record.
ALGODSAlgorithm of the referenced DNSKEY record.
DIGEST TYPEDSHash algorithm used to create the referenced DNSKEY record.
DIGESTDSCryptographic hash value of the referenced DNSKEY record.
PRIORITYMX, SRVA lower value indicates a higher priority.
WEIGHTSRVWhen two services have the same priority, the number associated with the weight determines which line should arrive first.
PORTSRVPort number.
HOSTSRVHost name.
CONTENTTXTGross value of the record.

How to Create a DNS Record

  1. In the Sidebar menu, select Domains -> Domain Management.
  2. In Domain Management window, identify the domain needing its DNS to be created (use the Search field if needed).
  3. Click on the DNS button.
  4. In the DNS Management window, click on the Create button:
  1. In the Create New DNS Record window SELECT RECORD TYPE (A, AAAA, CNAME, etc.):
  1. Fill in the requested information in the fields (see the table in the “Description of DNS Recording Fields” section).
  2. Click on the CREATE button.

How to Export the DNS Zone

It is possible to export a DNS zone in JSON data format.

  1. In the DNS Management window, click on the Export DNS Zone button:
  1. The JSON file is automatically saved in your Downloads folder.

How to Fully Reset the Zone

Warning! This will reset the DNS zone of the domain name. This means that if you have any custom entries they will be lost!

  1. In the DNS Management window for the chose domain, click on the Reset button:
  1. Confirm the action.

DNS Lookup for a Domain

The purpose of this tool is to analyze all records present in a domain’s DNS zone to ensure that the configuration is correct.

The tool is handy, among other things, for making sure name servers point to the right place. It is also quite useful for users who need to configure their domain used at Shopify or other platforms.

To access this tool, enter this address in your browser:https://www.ns-lookup.io/. Then:

1. Enter the domain name in the text field:

2. Click on the DNS lookup button. 

Under Status, a blue check mark means that a configuration is present and a red check mark means that it is absent:

Updated on February 22, 2024

Related Articles