You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/cloud/dedicated/adding-secondary-dns-on-dedicated-server/guide.en-gb.md
+30-16
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ If you want to use your [Dedicated Server](https://www.ovh.co.uk/dedicated_serve
22
22
23
23
## Instructions
24
24
25
-
### Add Your Domain to OVH Secondary DNS
25
+
### Retrieve the secret value (TXT record)
26
26
27
27
Click the `Dedicated`{.action} menu, then click `Dedicated Servers`{.action} to expand the list of servers in your account:
28
28
@@ -36,19 +36,19 @@ Enter your domain in the `Domain` field, then click `Next`{.action}:
36
36
37
37
{.thumbnail}
38
38
>
39
-
You will be provided a secret value that you must add as the contents of a new TXT record in your DNS zone file with your registrar. In the "Name" field, write "ownercheck" (depending on your registrar this may need to be ownercheck.yourdomain.com). In the "Value" field, write the secret value you were provided.
39
+
40
+
You will now see a message instructing you to create a TXT record for your domain in order to verify the domain's ownership and add it to the list. Make a note of the sub-domain and the secret value in the instructions, then click `Cancel`{.action}:
40
41
>
41
-
Prior to clicking the Next button, make sure your newly added record is publicly accessible. You can check this by using * access to the [MX Toolbox](https://mxtoolbox.com/SuperTool.aspx?action#){.external}, a third-party site the performs DNS lookups. Change the option to "TXT Lookup" and put ownercheck.yourdomain.com in the field. Once you are done adding the information at your registrar, click the **Next** button.
42
42
{.thumbnail}
43
43
>
44
-
You will be prompted to click the **Add** button to validate the ownership. The OVHcloud Manager will validate that you are the owner of the domain and complete the configuration. If you were successful, you will get a popup message such as the one below:
Using this configuration, you can take advantage of a free secondary DNS server provided by OVHcloud which will host a slave zone of your domain.
48
-
>
49
-
This secondary DNS server works as a backup of your main DNS server.
44
+
45
+
### Verify your domain's ownership (External DNS Servers)
46
+
47
+
Create a new TXT record in your DNS zone file with your registrar. In the "Name" field, write "ownercheck" (depending on your registrar this may need to be ownercheck.yourdomain.com). In the "Value" field, write the secret value you were provided.
50
48
>
51
-
### Verify your domain
49
+
Prior to clicking the Next button, make sure your newly added record is publicly accessible. You can check this by using * access to the [MX Toolbox](https://mxtoolbox.com/SuperTool.aspx?action#){.external}, a third-party site the performs DNS lookups. Change the option to "TXT Lookup" and put ownercheck.yourdomain.com in the field.
50
+
51
+
### Verify your domain's ownership (OVH DNS Servers)
52
52
> [!warning]
53
53
>
54
54
> Note: This process is only for domains hosted in OVH DNS servers. If you use external DNS servers the process is the same. However, you will have to adapt it since the Control Panel will be diffrent.
@@ -80,7 +80,9 @@ First, you need to install BIND (or any DNS server). You can use this link for [
80
80
>
81
81
To test if you have BIND, use the following command:
82
82
>
83
-
**$ named -v**
83
+
```sh
84
+
$ named -v
85
+
```
84
86
>
85
87
The command will tell you what version of BIND you are running. If nothing shows, BIND is not currently installed. Please consult your distro documentation about how to install BIND. The distro documentation may give you a command to run in your terminal which is an easier way to install BIND.
86
88
>
@@ -103,20 +105,24 @@ The default locations of DNS zone files vary by distro. The following are the fi
103
105
>
104
106
`Zone File`
105
107
106
-
**acl trusted-servers {
108
+
```sh
109
+
acl trusted-servers {
107
110
213.251.188.141; // sdns2.ovh.net
108
111
};
109
112
zone example.com {
110
113
type master;
111
114
file "example.com";
112
115
allow-transfer { trusted-servers };
113
-
};**
116
+
};
117
+
```
114
118
>
115
119
Once configured, don’t forget to restart `named`:
116
120
>
117
-
**$ sudo systemctl restart named**
121
+
```sh
122
+
$ sudo systemctl restart named
123
+
```
118
124
>
119
-
### Add the secondary DNS to your server
125
+
### Add Your Domain to OVH Secondary DNS
120
126
121
127
Click the `Dedicated`{.action} menu, and then click `Dedicated Servers`{.action} to expand the list of servers in your account:
122
128
@@ -134,10 +140,18 @@ Since the TXT record for your domain has already been created, just click `Next`
134
140
135
141
{.thumbnail}
136
142
137
-
Finally, click `Add`{.action} to confirm your entry:
143
+
You will be prompted to click the `Add`{.action} button to validate the ownership:
138
144
139
145
{.thumbnail}
140
146
147
+
The OVH Manager will validate that you are the owner of the domain and complete the configuration. If you were successful, you will get a popup message such as the one below:
0 commit comments