Everything you need to know about DNS records

Objective

DNS means Domain Name System and is a set of elements (DNS servers, DNS zones, etc.) that map a domain name to an IP address.

First, we recommend reading our guides “Everything you need to know about DNS servers” and “Everything you need to know about DNS zone” in this order.

A domain name’s DNS zone is its configuration file. It consists of technical information, called DNS records. The DNS zone is a sort of referral center for a domain name.

The purpose of this guide is to introduce you to the different types of DNS records available in a DNS zone managed by OVHcloud. It is complementary to the following guides:

Find out about the different types of DNS records available in an OVHcloud DNS zone.

Instructions

DNS records

Editing a DNS zone is a sensitive procedure. Incorrect changes could make your website unavailable, for example, or prevent your email addresses from receiving new emails.

The list below includes the objectives and specifics of each registration. This will give you a better understanding of how you manage your DNS services.

Pointer records

Select the record you want by clicking each of the following tabs.

A
AAAA
CNAME
DNAME
NS

Address

Links a domain name to a X.X.X.X IPv4 address (where X is a number between 0 and 255). For example, the IPv4 address of the server your website is hosted on.

Email records

Select the record you want by clicking each of the following tabs.

MX
SPF
DKIM
DMARC

Mail eXchanger

Links a domain name to an email server. For example, the address 10 mx1.mail.ovh.net corresponds to one of the OVHcloud email servers when you have an OVHcloud email solution. Your email provider may have several email servers. Several MX fields must therefore be created. Please read our guide on Adding an MX record to your domain name’s configuration.

Warning

In general, we recommend using servers from the same email provider in your DNS zone. If you already have email services from another email provider and you are adding your new email provider’s servers in parallel (without replacing them), you risk randomly receiving your emails from either of your two email providers.

Extended records

Select the record you want by clicking each of the following tabs.

TXT
SRV
CAA
NAPTR
LOC
SSHFP
TLSA
RP
SVCB
HTTPS

TeXT

Allows you to add the value of your choice, in text format, in your domain name’s DNS zone. This record is often used during verification/validation or security processes.

Warning

The TXT record is limited to 255 characters. However, in some cases, you can split your value into several records. Ask your service provider if they request to enter a value that exceeds the 255-character quota.

However, this limit does not exist if you use the Modify in text mode feature described in our guide "Editing an OVHcloud DNS zone" (for expert users).

Thanks to the HTTPS-type DNS record, the domain name domain.tld can directly inform compatible web browsers that the HTTPS service should be resolved by the CDN provider cdn.provider.tld. This is done without redirections and without manual management of IP addresses.

For this, the HTTPS-type DNS record must specify:

  • Priority: 0.
  • Target: cdn.provider.tld.
  • Settings: Leave the field empty.

Thus, it is the resolution of cdn.provider.tld that will indicate the parameters to use for domain.tld.

Special use case: CNAME records

Some users create DNS zones directly for a domain name’s subdomain (for example, subdomain-with-its-own-DNS-zone.domain.tld). The rule specified earlier in the "CNAME" tab of the “pointer records” section will then also apply in this scenario.

Since the DNS zone is created for the subdomain (in our example subdomain-with-its-own-DNS-zone.domain.tld), the subdomain is then considered a fully qualified domain name in its DNS zone.

As a result, in this specific case, you will not be able to create a CNAME record for subdomain-with-its-own-DNS-zone.domain.tld in the DNS zone you have created for it. However, you can create CNAME records, such as subdomain.subdomain-with-its-own-DNS-zone.domain.tld or xxx.subdomain-with-its-own-DNS-zone.domain.tld.

Go further

Everything you need to know about DNS servers

Everything you need to know about DNS zone

Add an SPF record to your domain name’s configuration

Protect your domain name against cache poisoning with DNSSEC

For specialised services (SEO, development, etc.), contact OVHcloud partners.

If you would like assistance using and configuring your OVHcloud solutions, please refer to our support offers.

Join our community of users.

Was this page helpful?