---
title: "Customising a domain name's DNS servers (Hosts)"
description: "Find out how to customise your OVHcloud domain name's DNS servers"
url: https://docs.ovhcloud.com/en/guides/web-cloud/domains/glue-registry
lang: en
lastUpdated: 2026-03-27
---
# Customising a domain name's DNS servers (Hosts)

## Objective

**DNS servers** host the DNS configurations for domain names: _DNS zones_.


These _DNS zones_ consist of technical information: _DNS records_. In standard usage, _DNS records_ allow you to:

- Display your website with your domain name, using your hosting server's IP address (DNS records of the types _A_ and _AAAA_).
- Redirect emails received at your domain name's custom email address(es) (DNS records of the type _MX_).
- Configure security/authentication information for your services (web hosting, email server, etc.) associated with your domain name (DNS records such as _SPF_, _DKIM_, _DMARC_, etc.).

For more information on these topics, see the following guides:

- [Everything you need to know about DNS servers](/en/guides/web-cloud/domains/dns-server-general-information.md).
- [Everything you need to know about DNS zones](/en/guides/web-cloud/domains/dns-zone-general-information.md).
- [How to edit an OVHcloud DNS zone](/en/guides/web-cloud/domains/dns-zone-edit.md).

Depending on your needs, you can customise your OVHcloud domain name's DNS servers using "**Hosts**".

**Find out how to customise your OVHcloud domain name's DNS servers.**

## Requirements

- A [domain name](https://www.ovhcloud.com/en-gb/domains/) registered with OVHcloud.


***

### OVHcloud Control Panel Access

- **Direct link:** <ManagerLink to="/#/web-domains/domain">Domain names</ManagerLink>
- **Navigation path:** <code className="action">Web Cloud</code> > <code className="action">Domain names</code> > Select your domain name

***


## Instructions

:::warning
**Customising a domain name's DNS servers is a sensitive procedure**: an inappropriate change can prevent access to your website and/or interrupt the reception of new emails on your email addresses.
Follow the parts described below carefully, or contact a [specialist provider](https://partner.ovhcloud.com/en-gb/directory/) if you have any doubts.

:::

### 1 - General rule [](#)
Some registries, such as **Verisign** (which manages the _.com_, _.net_ extensions as well as other TLDs), use a technical model called **host objects**.

In some cases, this model requires that a specific record be created in advance for a DNS server before it can be **used by a domain name**.

Other registries do not require this record and directly accept the DNS server name.

In general, OVHcloud automatically creates the **host objects** when they are related to a domain name managed by OVHcloud.

:::warning
**The "Hosts" tab is only required in one specific case**: the DNS server belongs to a domain name managed by OVHcloud and must be used by another domain name that is not managed by OVHcloud _but is governed by the same registry_ (for example, two _.com_ domain names).

:::

#### Possible cases

| DNS server domain name  | Domain name to configure | Host creation by OVHcloud                | Manual action required in the "Hosts" menu | Example                                                                                                                                                                                                |
| ----------------------- | ------------------------ | ---------------------------------------- | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Managed by OVHcloud     | Managed by OVHcloud      | Automatic                                | No                                         | _ns1.example.com_ (domain _example.com_ managed by OVHcloud) is used as the DNS server for the domain _test.com_ (managed by OVHcloud)                                                                 |
| Managed by OVHcloud     | Managed by OVHcloud      | Automatic                                | No                                         | _ns1.example.com_ (domain _example.com_ managed by OVHcloud) is used as the DNS server for the domain _test.fr_ (managed by OVHcloud)                                                                  |
| **Managed by OVHcloud** | **Other registrar**      | **Automatic configuration not possible** | **Yes**                                    | **_ns1.example.com_ (domain _example.com_ managed by OVHcloud) is used as the DNS server for the domain _test.com_ (managed by another registrar, same _.com_ extension)**                             |
| Managed by OVHcloud     | Other registrar          | N/A                                      | No                                         | _ns1.example.com_ (domain _example.com_ managed by OVHcloud) is used as the DNS server for the domain _test.fr_ (managed by another registrar)                                                         |
| Not managed by OVHcloud | Managed by OVHcloud      | Out of scope                             | No                                         | _ns1.example.net_ (domain managed by another registrar) is used as the DNS server for the domain _test.com_ (managed by OVHcloud) - the host must be created with the registrar managing _example.net_ |

**The third row of the table above is the only scenario where manual creation of the host in the "Hosts" tab is required.**

### 2 - Retrieving the DNS servers currently used by your domain name [](#)
You can retrieve the DNS servers currently used by your domain name using the online DNS tool [Zonemaster](https://zonemaster.net/en).

To do this, go to [https://zonemaster.net](https://zonemaster.net/en)
, enter your domain name without _www_
 (example: _domain.tld_
), then tick the `Options
` button located just below the domain name entry form.
In the available options, click on the `Fetch NS from parent zone
` button.
A result is displayed:

![glue-zonemaster](/images/assets/screens/other/web-tools/zonemaster/nameservers.png)
Retrieve the _DNS servers_ and keep **all** their associated IPv4 addresses (in the form _X.X.X.X_ where _X_ is a number between _0_ and _255_) and IPv6 (other IPs that are not IPv4). You will need them for the rest of this guide.

In our example shown above, the **domain.tld** domain currently uses the following **DNS servers**:

- **dnsX1.ovh.net** associated with IPv4 _203.0.113.0_ and IPv6 _2001:db8:1:1b00:203:0:113:0_.
- **dnsX2.ovh.net** associated with IPv4 _203.0.113.1_ and IPv6 _2001:db8:1:1b00:203:0:113:1_.

If you need more information, please read our tutorial on the [Zonemaster](/en/guides/web-cloud/domains/dns-zonemaster.md) tool.

### 3 - Adding the host records [](#)
:::warning
The registries for the extensions _.eu_, _.it_, _.be_ and _.de_ do not consider host records to be "objects", but rather "attributes".

Therefore, for these extensions, skip **directly to [step 4](#step4)** of this guide without completing step 3.

:::

:::tip
Before you begin, be aware that:

- You can create custom DNS servers directly on the domain name that will use them. For example, you can create the custom DNS servers _dns1.domain.tld_ and _dns2.domain.tld_ for the domain name _domain.tld_.

- You can also create custom DNS servers on a domain name to use them with another domain name. For example, you can create the custom DNS servers _dns1.domain1.tld_ and _dns2.domain1.tld_ for the domain name _domain2.tld_. You will need to retrieve the DNS servers and their associated IPs for _domain2.tld_.
  In addition, _domain1.tld_ must be registered with OVHcloud to set up the hosts.

:::

Click on the tabs below to view each of the **3** steps.


**Step 1**

Go to the <ManagerLink to="/#/web-domains/domain">Domain names</ManagerLink> page, then choose the domain name concerned.
![Domain names](/images/assets/screens/control-panel/product-selection/web-cloud/domain-names.png)

**Step 2**

Once you are on the domain name concerned, click on the <code className="action">Hosts</code> tab.
The table that appears will display the host records currently configured at OVHcloud for your domain name, if any. To add a new record, click the <code className="action">Add</code> button.
![Glue Registry](/images/assets/screens/control-panel/product-selection/web-cloud/domain-dns/hosts/add.png)

**Step 3**

In the window that opens on your screen, fill in the requested information:
| Information  | Details                                                                                                                                                                                                                                        |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Host name    | Customise the host name you want to use as a custom DNS server.                                                                                                                                                                                |
| Target IP(s) | Enter the IP address(es) (IPv4 and/or IPv6) to which the host name should be linked. This is the IP address(es) of the DNS server currently used by your domain name. If you need to enter multiple IP addresses, separate them with _commas_. |
![Glue Registry](/images/assets/screens/control-panel/product-selection/web-cloud/domain-dns/hosts/add-another-glue-record-step-2.png)In the image above, taking the example from [step 2](#step2), the host to be added here (from the domain name _domain.tld_) is **dns1.domain.tld**.
For this host, the following _target DNS server_ IP addresses are specified: _203.0.113.0_ (IPv4) and _2001:db8:1:1b00:203:0:113:0_ (IPv6). These IPs correspond to one of the two DNS servers currently used for _domain.tld_ (**dnsX1.ovh.net**).
This host is added so that **dns1.domain.tld** will ultimately replace the DNS server name **dnsX1.ovh.net** currently used by the domain name _domain.tld_.
Once you have filled in the information, click the <code className="action">Add</code> button. Read the information displayed, then click <code className="action">Confirm</code>. Repeat this operation as many times as necessary, depending on the number of DNS servers used by your domain name.
In our example, you will need to repeat the operation to create the **dns2.domain.tld** host. This will subsequently replace the DNS server **dnsX2.ovh.net** currently associated with IPv4 _203.0.113.1_ and IPv6 _2001:db8:1:1b00:203:0:113:1_.


### 4 - Creating the A and AAAA DNS records corresponding to the custom DNS servers [](#)
You must create the _A_ and _AAAA_ records for the host names that you defined in the previous step. The _A_ and _AAAA_ records must target the destination IP address corresponding to the host name created earlier.

This is done via the interface of the provider managing your domain name's DNS configuration. There are two possibilities:

**Click on one of the 2 options to view its content.**


Your domain name does not use an active DNS zone at OVHcloud

Contact the provider managing it. Once the change has been made, proceed to the next step.


Your domain name uses an active DNS zone at OVHcloud

Click on the tabs below to view each of the **4** steps.

**Step 1**

Go to the <ManagerLink to="/#/web/zone">DNS zones</ManagerLink> page, then choose the domain name you used to create the hosts in [Part 3](#step3).
![DNS zones](/images/assets/screens/control-panel/product-selection/web-cloud/dns-zones.png)

**Step 2**

Click <code className="action">Add an entry</code>.


**Step 3**

Select the entry of type _A_ or _AAAA_ depending on the type of associated IP you want to add.
![Glue Registry](/images/assets/screens/control-panel/product-selection/web-cloud/domain-dns/dns-zone/add-an-entry-2.png)

**Step 4**

Enter the _subdomain_ and the _IPv4_ (A) or _IPv6_ (AAAA) address, then proceed until the addition has been validated. If necessary, refer to the instructions in our guide "[How to edit an OVHcloud DNS zone](/en/guides/web-cloud/domains/dns-zone-edit.md)".


:::info
In all cases, a propagation delay of 4 to 24 hours is required for the DNS zone modification to take effect across the entire DNS network. We recommend waiting for this period before continuing.

:::

If we go back to our previous example, the host records to be added (from the domain name _domain.tld_) are **dns1.domain.tld** and **dns2.domain.tld**. The goal is to replace the current DNS servers **dnsX1.ovh.net** and **dnsX2.ovh.net**.

As a result, the following records are added to the active DNS zone of the domain name _domain.tld_:

- An _A_ DNS record for the _subdomain_ **dns1.domain.tld** to the IP _203.0.113.0_ (IPv4 of the DNS server **dnsX1.ovh.net**).
- An _AAAA_ DNS record for the _subdomain_ **dns1.domain.tld** to the IP _2001:db8:1:1b00:203:0:113:0_ (IPv6 of the DNS server **dnsX1.ovh.net**).
- An _A_ DNS record for the _subdomain_ **dns2.domain.tld** to the IP _203.0.113.1_ (IPv4 of the DNS server **dnsX2.ovh.net**).
- An _AAAA_ DNS record for the _subdomain_ **dns2.domain.tld** to the IP _2001:db8:1:1b00:203:0:113:1_ (IPv6 of the DNS server **dnsX2.ovh.net**).

Wait for the DNS propagation to complete.

### 5 - Replacing the NS records in your domain name's active DNS zone

For the DNS server customisation to be visible on the DNS network (by performing a _Whois_, a _dig ns_ or through a DNS configuration analyser), you will need to replace the _NS_ records in your domain name's active DNS zone.

This is done via the interface of the provider managing your domain name's DNS configuration. There are two possibilities:

**Click on one of the 2 options to view its content.**


Your domain name does not use an active DNS zone at OVHcloud

Contact the provider managing it to make the change.


Your domain name uses an active DNS zone at OVHcloud

Click on the tabs below to view each of the **3** steps.

**Step 1**

Go to the <ManagerLink to="/#/web/zone">DNS zones</ManagerLink> page, then choose the domain name for which you have customised the DNS servers.
![DNS zones](/images/assets/screens/control-panel/product-selection/web-cloud/dns-zones.png)

**Step 2**

Click <code className="action">Change in text format</code>.
A window containing your DNS zone in _text_ mode will appear:
![Glue Registry](/images/assets/screens/control-panel/product-selection/web-cloud/domain-dns/dns-zone/change-in-text-format-step-1.png):::warning
As a reminder, making an inappropriate change in _text_ mode in your DNS zone can prevent access to your website and/or interrupt the reception of new emails on your email addresses.
Contact a [specialist provider](https://partner.ovhcloud.com/en-gb/directory/) if you have any doubts.
:::


**Step 3**

In this window, replace **only in the _NS_ type records** the DNS server names with your own custom DNS server names, **making sure** to increment the first numeric value of the _SOA_ line by "1". Once you have made your changes, click <code className="action">Next</code> then <code className="action">Confirm</code>.
The change will not be visible immediately. Wait around twenty minutes for your changes to take effect.


:::info
A propagation delay of 4 to 24 hours is required for the changes made in the DNS zone to take effect across the entire DNS network.

:::

To better understand this step, let's take our example with the domain name _domain.tld_ and its DNS zone in "text" mode visible in the image above.

The following elements are observed:

- The first numeric value of the _SOA_ line is: _2023071700_.
- There are two _NS_ records for the domain name _domain.tld_.
- The _NS_ records still target the two DNS servers **dnsX1.ovh.net** and **dnsX2.ovh.net**.

To continue the customisation of the DNS servers for the domain name _domain.tld_, you will need to:

- Increment the first numeric value of the _SOA_ line by "1": _202307170**1**_ (note that if the first numeric value was _2023071704_, you would increment by "1" and get the following result: _202307170**5**_).
- Replace the target **dnsX1.ovh.net.** with **dns1.domain.tld.** only for the line that starts with **IN NS**.
- Replace the target **dnsX2.ovh.net.** with **dns2.domain.tld.** only for the line that starts with **IN NS**.

Once the modifications are made, the result of our example will be the following:

```bash
$TTL 3600
@	IN SOA dnsX1.ovh.net. tech.ovh.net. (2023071701 86400 3600 3600000 300)
                  IN NS     dns1.domain.tld.
                  IN NS     dns2.domain.tld.
```

For the domain name _domain.tld_, the DNS servers displayed after the DNS modification and propagation have been processed will be **dns1.domain.tld.** and **dns2.domain.tld.**.

If necessary, refer to the instructions in our guide "[How to edit an OVHcloud DNS zone](/en/guides/web-cloud/domains/dns-zone-edit.md)".

:::tip
If you have customised your DNS servers directly on the domain name that will use them, the DNS zone may not display the domain name in the targets of the _NS_ records, but only the _subdomain_.

For example, instead of displaying the following records:

- domain.tld IN NS dns1.domain.tld.
- domain.tld IN NS dns2.domain.tld.

The DNS zone may display the records as follows:

- domain.tld IN NS dns1.
- domain.tld IN NS dns2.

Rest assured, this is the same result and this configuration will work perfectly. This phenomenon is caused by the presence of the same domain name on both sides of the _NS_ record.

:::

### 6 - Modifying your domain name's DNS servers

You must modify your domain name's DNS servers by replacing the old DNS servers with the custom DNS servers you created previously.

To do this, click on the tabs below to view each of the **4** steps.


**Step 1**

Go to the <ManagerLink to="/#/web-domains/domain">Domain names</ManagerLink> page, then choose _the domain name for which you want to customise the DNS servers_.
![Domain names](/images/assets/screens/control-panel/product-selection/web-cloud/domain-names.png)

**Step 2**

Select the <code className="action">DNS servers</code> tab, then click <code className="action">Modify DNS servers</code>.
![Glue Registry](/images/assets/screens/control-panel/product-selection/web-cloud/domain-dns/dns-servers/modify-dns-servers.png)

**Step 3**

Replace your current DNS servers with those you want to use as custom DNS servers.
:::warning
If your custom DNS servers have been created with the extensions _.eu_, _.it_, _.be_ or _.de_, you **must** enter the associated IP address for each of your custom DNS servers respectively.
Without this, the custom DNS servers will not be registered correctly and will not work with your domain name.
:::


**Step 4**

Finalise the steps and, if necessary, refer to the instructions in our guide "[Modifying an OVHcloud domain name's DNS servers](/en/guides/web-cloud/domains/dns-server-edit.md)".
:::info
If you have customised DNS servers on a domain name for use with another domain name that is not registered with OVHcloud, contact the provider where your other domain name is registered to modify the DNS servers.
:::


:::info
A propagation delay of 24 to 48 hours is required for the change of DNS servers to take effect across the entire DNS network.

:::

In our example of customising the DNS servers for the domain name _domain.tld_, we replace the DNS server **dnsX1.ovh.net** with **dns1.domain.tld** and the DNS server **dnsX2.ovh.net** with **dns2.domain.tld**, then wait for the DNS propagation to complete.

## Go further

[General information on OVHcloud DNS servers](/en/guides/web-cloud/domains/dns-server-general-information.md)

[How to edit an OVHcloud DNS zone](/en/guides/web-cloud/domains/dns-zone-edit.md)

For specialised services (SEO, development, etc.), contact [OVHcloud partners](https://partner.ovhcloud.com/en-gb/directory/).

If you would like assistance using and configuring your OVHcloud solutions, please refer to our [support offers](https://www.ovhcloud.com/en-gb/support-levels/).

Join our [community of users](https://community.ovhcloud.com/).
