https://github.com/rharmonson/richtech/wiki/Dynamic-DNS-Client-using-ddclient-on-CentOS-7
sudo apt-get update
sudo apt-get install ddclient
- Nombre del servidor de DNS que le esta prestando servicio DNS Dinamico:
- Elija el protocolo de actualizacion DNS que utiliza su proveedor de servicio DNS Dinamico:
dyndns2
- nombre de usuario para el servidor de DNS dinamico
yourdomain.com
- contaseña
(locate in admin interface of your DNS provider) ...
Is near impossible to enter right a long pasword two times in that interface. Its far better to edit the config in /etc/ddclient.conf
my example:
protocol=namecheap
use=web, web=dynamicdns.park-your-domain.com/getip
server=dynamicdns.park-your-domain.com
login=yourdomain.com
password='thepassword'
@, www, git
Note that all de 'A' records in the last line must be previously created in your DNS provider
sudo nano /etc/default/ddclient
and change:
run_daemon="true"
daemon_interval="600"
reload service:
sudo systemctl force-reload ddclient
sudo systemctl status ddclient
https://samhobbs.co.uk/2015/01/dynamic-dns-ddclient-raspberry-pi-and-ubuntu