Configuring a dynamic DNS for a domain name
Find out how to configure a dynamic DNS record (DynHost) for your OVHcloud domain name
Find out how to configure a dynamic DNS record (DynHost) for your OVHcloud domain name
Last updated 16th August 2018
A Domain Name System (DNS) zone is a domain name’s config file. It is composed of technical information, otherwise called ‘records’. For a number of applications, such as hosting your own gaming server without a fixed IP address, dynamically updating a DNS record may be necessary to avoid any prolonged service interruptions.
Find out how to configure a dynamic DNS record (DynHost) for your OVHcloud domain name.
If your domain name does not use OVHcloud's DNS servers, you will need to contact the service provider managing its configuration in order to find out what approach you need to take.
If your domain name is registered with OVHcloud, you can check if the domain name is using our configuration. To do this, go to the OVHcloud Control Panel, select the domain concerned, and go to the DNS servers
tab.
The first step involves creating a DynHost username. Once you do so, you can then update the dynamic DNS record you would like to create. First of all, log in to the OVHcloud Control Panel, click Domains
, then choose the domain name concerned. Next, go to the DynHost
tab.
Click on the Manage access
button, then Create a username
. In the pop-up window, enter the following information:
Information | Description |
---|---|
Username suffix | Define a suffix for the DynHost username you are creating. |
Subdomain | Specify the subdomain you are creating the dynamic DNS record for. |
Password | Define a password for the DynHost username, then confirm it. |
Once you have filled in all of the required fields, click Confirm
. The username will then appear in the table on the current page. Repeat this step if you need additional DynHost usernames.
This second step involves creating the DNS record that must be updated dynamically. As a reminder, it must not already exist in your domain name’s OVHcloud DNS zone as an A record. For advice on how to check this and delete the A record if necessary, please read our guide to Editing an OVHcloud DNS zone.
Once you are ready to create the DynHost record, go to the DynHost
tab, then click Add a DynHost
. In the pop-up window, enter the following information:
Information | Description |
---|---|
Subdomain | Enter the subdomain that the DNS record must be dynamically updated for. This subdomain must be identical to the one you entered when you created the DynHost username. |
Target IP | Enter the IP address that must currently be used by the DNS record. In accordance with DynHost principles, the IP will then be updated. |
Once you have filled in all of the required fields, click Confirm
. The DynHost record will then appear in the table on the current page. Repeat this step if you need additional DynHost records.
Now that the username and the DynHost record have been created, this final step involves automating updates to the DNS record, so they are made dynamically. To do this, you need to use a client that regularly checks if the target IP has changed, so that it can be updated as required.
You will need to rely on your own knowledge to set up and configure the client. We have provided general information on how to proceed below. Nevertheless, we recommend contacting a specialist provider if you encounter any difficulties. We will not be able to assist you with this ourselves.
There is a wide range of options for this, so please note that this client may already be installed on your server or computer. Otherwise, it may already be available on your router’s interface, if it is compatible. Once you have chosen and installed the client, you will need to configure it using the details for the DynHost username you created in step 1.
Depending on the client you are using, you may need to provide an update URL address, as well as further information on the DynHost username and subdomain concerned. If this is the case, use the URL template below, and take care to replace the generic information with your own information:
https://www.ovh.com/nic/update?system=dyndns&hostname=$HOSTNAME&myip=$IP
Information | Replace with |
---|---|
$HOSTNAME | The subdomain you are modifying the DNS configuration for. |
$IP | The new target IP address. |
To check that the target IP address has been updated, go to the DynHost
tab in the OVHcloud Control Panel. Check the IP address that appears in the Target
column.
Join our community of users on https://community.ovh.com/en/.
Please feel free to give any suggestions in order to improve this documentation.
Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.
Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.
Thank you. Your feedback has been received.
Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.
Discuss with the OVHcloud community