2020-11-11 11:47:10 +01:00
|
|
|
---
|
|
|
|
title: DNS Configuration with OVH
|
|
|
|
template: docs
|
|
|
|
taxonomy:
|
|
|
|
category: docs
|
2021-02-06 18:22:00 +01:00
|
|
|
routes:
|
2021-09-21 02:39:15 +02:00
|
|
|
default: '/providers/registrar/ovh/manualdns'
|
2021-09-21 01:59:59 +02:00
|
|
|
aliases:
|
|
|
|
- '/OVH'
|
2020-11-11 11:47:10 +01:00
|
|
|
---
|
2017-01-18 06:33:20 +01:00
|
|
|
|
|
|
|
Let's see how to properly set the DNS redirections with [OVH](http://www.ovh.com).
|
|
|
|
|
|
|
|
Once you bought your domain name, got to the Web Control Panel, and click on you domain name on the left side:
|
|
|
|
|
2021-02-06 22:41:01 +01:00
|
|
|
![](image://ovh_control_panel.png?resize=800)
|
2017-01-18 06:33:20 +01:00
|
|
|
|
|
|
|
Click on the **DNS Zone** tab, then on **Add an entry**:
|
|
|
|
|
2021-02-06 22:41:01 +01:00
|
|
|
![](image://ovh_dns_zone.png?resize=800)
|
2017-01-18 06:33:20 +01:00
|
|
|
|
|
|
|
Now you need to add the DNS redirections as specified by the [standard DNS zone configuration](/dns_config)
|
|
|
|
|
2020-10-03 14:42:42 +02:00
|
|
|
Click on "Change in text format", keep the first four lines:
|
2020-09-05 19:57:45 +02:00
|
|
|
```bash
|
|
|
|
$TTL 3600
|
2024-03-01 23:14:44 +01:00
|
|
|
@ IN SOA dns104.ovh.net. tech.ovh.net. (2020083101 86400 3600 3600000 60)
|
2020-09-05 19:57:45 +02:00
|
|
|
IN NS dns104.ovh.net.
|
|
|
|
IN NS ns104.ovh.net.
|
|
|
|
```
|
2024-03-01 23:00:03 +01:00
|
|
|
then erase everything below, and replace it with the configuration generated by YunoHost as explained in [this page](/dns_config).
|
2017-01-18 06:33:20 +01:00
|
|
|
|
2024-03-01 23:14:44 +01:00
|
|
|
|
2020-10-03 14:42:42 +02:00
|
|
|
### Dynamic IP
|
2017-01-18 06:33:20 +01:00
|
|
|
|
2021-02-06 18:22:00 +01:00
|
|
|
[General tutorial on dynamic IP](/dns_dynamicip).
|
2017-01-18 06:33:20 +01:00
|
|
|
|
|
|
|
You should follow this part if you have a dynamic IP.
|
|
|
|
|
2023-07-04 08:13:37 +02:00
|
|
|
Find out if your ISP provides you with a dynamic IP address [here](/isp).
|
2017-01-18 06:33:20 +01:00
|
|
|
|
|
|
|
Let's create a DynHost id.
|
|
|
|
|
|
|
|
Follow [this tutorial](http://blog.developpez.com/brutus/p6316/ubuntu/configurer_dynhost_ovh_avec_ddclient) to install ddclient.
|
|
|
|
ddclient will take care of telling OVH that the IP has changed. Then OVH will update the IP.
|
|
|
|
|
2020-10-03 14:42:42 +02:00
|
|
|
You need to add in the configuration file:
|
2017-01-18 06:33:20 +01:00
|
|
|
* your login and password DynHost
|
|
|
|
* your domain name
|
|
|
|
|
|
|
|
You should also check out [OVH's guide on DynHost](https://www.ovh.co.uk/g2024.hosting_dynhost).
|