doc/dns_dynamicip.md
ma.azimi@laposte.net 1acabf7a52 Add dns_dynamicip.md
2015-04-07 13:59:09 +02:00

2 KiB

DNS with a dynamic IP

This tutorial is here to help you get around dynamic IP issue. When the IP address change, the DNS service is not update to the new IP address.

After put in place the solution proposed in this tutorial, the redirection from your domain name to the real IP address will not be loose anymore.

Make sure you got a global dynamic IP with: ip.yunohost.org. Global IP of your box change almost every days.

The goal of this tutorial is to make the box to say to the dynamic DNS service it has change global IP, then DNS will automatically change.

If you own a domain name at OVH, you could go to step 4 and follow this tutorial because OVH offer a DynDNS service.

1. Register to a Dynamic DNS service

Here is sites which offer a DynDNS service free of charge:

Register to one of them.

2. Move the DNS zones

Move the DNS zones, excepted the NS fields, from the registar where you bought your domain name to the dynamic DNS service you registrer at step 1.

3. Change Name System (NS)

This step consist to say to the registar that the new DNS service will be manage by the DynDNS service. Redirect NS field to the IP address gived by the dynDNS service.

Then, remove DNS zones, excepted NS fields, from the registar.

4. Create a Dynamic DNS login

On the dynamic DNS service create a login that you will enter on a dynamic DNS client. This client could be your box or a package installed on your server as ddclient. We gone use the client installed on the box which is more easy way.

5. Configure the box

Put the login of the dynamic DNS and the IP address on your box.