doc/pages/01.administrate/05.advance/01.domains/05.OVH/OVH.md

50 lines
1.6 KiB
Markdown
Raw Normal View History

2020-11-11 11:47:10 +01:00
---
title: DNS Configuration with OVH
template: docs
taxonomy:
category: docs
routes:
default: '/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
@ IN SOA dns104.ovh.net. tech.ovh.net. (2020083101 86400 3600 3600000 60)
IN NS dns104.ovh.net.
IN NS ns104.ovh.net.
```
2020-09-14 11:23:05 +02:00
then erase everything below, and replace it with the configuration generated by YunoHost as explained in [this page](/dns_config).
2020-09-05 19:57:45 +02:00
2017-01-18 06:33:20 +01:00
2020-10-03 14:42:42 +02:00
### Dynamic IP
2017-01-18 06:33:20 +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.
Find out if your ISP provides you with a dynamic IP adress [here](/isp).
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).