---
title: "Configuring OVHcloud Secondary DNS on a VPS"
description: "Find out how to add a secondary DNS server for your domain"
url: https://docs.ovhcloud.com/en/guides/bare-metal-cloud/virtual-private-servers/adding-secondary-dns-on-vps
lang: en
lastUpdated: 2022-01-12
---
# Configuring OVHcloud Secondary DNS on a VPS

## Objective

If you are configuring your VPS as a DNS server, you can make use of the OVHcloud Secondary DNS service to host a secondary zone. This way, DNS for your domain will remain available even if the primary DNS server should become unresponsive.

**This guide explains how to add your domain name in the OVHcloud Control Panel in order to utilise an OVHcloud Secondary DNS server.**

## Requirements

- A domain name to which you have administrative access
- A [Virtual Private Server](https://www.ovhcloud.com/en-gb/vps/) in your OVHcloud account


***

### OVHcloud Control Panel Access

- **Direct link:** <ManagerLink to="/#/dedicated/vps">VPS management</ManagerLink>
- **Navigation path:** <code className="action">Bare Metal Cloud</code> > <code className="action">Virtual private servers</code> > Select your VPS

***


:::warning
OVHcloud is providing you with services for which you are responsible, with regard to their configuration and management. You are therefore responsible for ensuring they function correctly.

This guide is designed to assist you in common tasks as much as possible. Nevertheless, we recommend that you contact a [specialist service provider](https://partner.ovhcloud.com/en-gb/directory/) if you have difficulties or doubts concerning the administration, usage or implementation of services on a server.
:::

## Instructions

### Step 1: Retrieving the validation code [](#)
Switch to the tab `Secondary DNS
` and click on the button `Add a domain
`.
![Secondary DNS](/images/bare-metal-cloud/virtual-private-servers/adding-secondary-dns-on-vps/sec-01.png)
Enter the domain name you want to add, then click `Confirm
`.
![Secondary DNS](/images/bare-metal-cloud/virtual-private-servers/adding-secondary-dns-on-vps/sec-02.png)
A message will be displayed in your Control Panel regarding the verification process.

![Secondary DNS](/images/bare-metal-cloud/virtual-private-servers/adding-secondary-dns-on-vps/sec-03.png)
It is necessary to confirm your authorisation to manage the domain name before it can be added to OVHcloud Secondary DNS. This is achieved via an automated DNS lookup on the subdomain _ownercheck.yourdomainname_. An individual string of characters is generated for this purpose and displayed inside the red notification box. Copy this validation code for use in the next step.

### Step 2: Verifying authorisation for the domain name [](#)
The required action is different, depending on where the DNS of your domain name is managed.

- If the domain name is managed by an external registrar **or** it uses external DNS servers at this point, log in to the control panel of your DNS provider and add a DNS zone record of the type TXT with the subdomain "ownercheck" and the value provided by executing [step 1](#retrievecode).

- If the domain is managed by OVHcloud as its registrar **and** it uses OVHcloud DNS servers, add the TXT record in the <code className="action">Web Cloud</code> section of your <ManagerLink to="/">OVHcloud Control Panel</ManagerLink>. You can follow the instructions in our [DNS zone guide](/en/guides/web-cloud/domains/dns-zone-edit.md) if you are not familiar with this process.

![Secondary DNS](/images/bare-metal-cloud/virtual-private-servers/adding-secondary-dns-on-vps/sec-04.png)
### Step 3: Adding the domain name

As soon as the TXT record is present in the domain name's DNS zone, repeat the [steps described in the first part of this guide](#retrievecode) to add the domain name to the OVHcloud Secondary DNS server.

Clicking on `Confirm
` will trigger the automatic owner verification by querying the TXT record. A message in your Control Panel will confirm the successful DNS check. You can now delete the TXT record.
Added domain names will be listed in this tab with the corresponding **name of the secondary DNS server**. (Refresh the page in your browser after adding a domain name.)

![Secondary DNS](/images/bare-metal-cloud/virtual-private-servers/adding-secondary-dns-on-vps/sec-05.png)
Domain names can be removed by clicking on the `...
` button in the table.
:::info
Other actions required to configure your own DNS for your domain name(s) usually include:

- Configuring a DNS service (such as _BIND_)
- Configuring GLUE records
- Authorising zone transfers

Please refer to the corresponding manuals and external knowledge resources if you need further instructions for these administrative tasks.

:::

## Go further

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