Change DNS
Change DNS
Access the video
What are DNS?
DNS stands for Domain Name System. It is a kind of Internet phone book: where we more easily remember a browser address such as www.test.com, browsers will interact through IP addresses such as 8.10.11.12
DNS allow to make these correspondences so that browsers can load the right web resources following a user's search
The main types of DNS
You can use your domain name for different services (email address, google, facebook, ...).
For this, your domain name is set to point to one or more servers called "DNS servers" that redirect emails or requests to your site, to the corresponding service.
If you want to use different services, you may have to replace or add DNS records at the domain or sub-domain level.
There are many types (or fields) of DNS, the main ones being :
MX type
Purpose : to configure the mail servers attached to your domain
Example:
You subscribe to a professional email service. You need to repatriate the mail servers configuration to your domain.
Professional Mail Service | Mail Servers
------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
OVH | <p>1 mx1.mail.ovh.net., </p><p>100 mx3.mail.ovh.net., </p><p>5 mx2.mail.ovh.net.,</p> |
Google Workspace | <p>1 ASPMX.L.GOOGLE.COM., </p><p>5 ALT1.ASPMX.L.GOOGLE.COM., </p><p>5 ALT2.ASPMX.L.GOOGLE.COM., </p><p>10 ALT3.ASPMX.L.GOOGLE.COM., </p><p>10 ALT4.ASPMX.L.GOOGLE.COM.,</p> |
Ionos 1&1 | <p>10 mx00.ionos.co.uk,</p><p>10 mx01.ionos.co.uk,</p> |
Type A
Purpose: to link a domain name (test.com) or a subdomain (blog.test.com where blog is the subdomain) to an IP address
Example:
Point test.com to 8.9.10.11
This results in test.com A 8.9.10.11
CNAME type
Purpose: to link a domain name to the DNS record of another domain name
Example:
You have created a sub-domain blog at the domain test.com and you want it to point to the same IP address: blog.test.com must point to the same IP as test.com
This translates to blog.test.com CNAME test.com
This record does not mean that when someone calls blog.test.com in their browser, they will be redirected to test.com.
|
It just means that blog.test.com will point to the same server IP as test.com.
After that, it is the server configuration that will point the subdomains to one service or another.
A main domain, for example test.com CANNOT be redirected via a CNAME record, these can only be for sub-domains.
Type TXT
Purpose : to integrate a free text DNS zone.
In practice, this allows to check the ownership of the domain name for some services like Facebook or Google Search Console.
Example:
Add a text record to your domain name for the domain ownership verification step for facebook.
This translates into adding the text format "facebook-domain-verification=8m8o3jj1e28j0b6w2btho23ijxp2rm" with a TXT type.
Change DNS
From the back office, click on Sites, then on View.
In the drop-down menu, select the Change DNS action.
Enter the desired DNS type in the Type field.
Subdomain: fill in the value (the value is blog in the example blog.test.com) if necessary but this field can be left empty
Enter the desired value for the DNS type:
Value | Format | Example |
---|---|---|
MX | period at the end and comma separated values | <p>1 mx1.mail.ovh.net., </p><p>100 mx3.mail.ovh.net., </p><p>5 mx2.mail.ovh.net.,</p> |
CNAME | value ending with a dot | blog.test.com. |
TXT | between " " and comma separated values | "facebook-domain-verification=8m8o3jj1e28j0b6w2btho23ijxp2rm" |
Check the Replace box if you want to overwrite previous records.
This box must be checked for the configuration of MX servers
Be careful not to check this box for TXT records where it is an ADD at the domain level for a service in question, without wishing to delete the other TXT records.
Updated on: 24/01/2023
Thank you!