Skip to content

Instantly share code, notes, and snippets.

@Peregrinox
Last active March 22, 2018 13:58
Show Gist options
  • Save Peregrinox/344a1141016f03eb2dd89196285f0e92 to your computer and use it in GitHub Desktop.
Save Peregrinox/344a1141016f03eb2dd89196285f0e92 to your computer and use it in GitHub Desktop.
install and configure ddcliento for dynamic DNS update

https://github.com/rharmonson/richtech/wiki/Dynamic-DNS-Client-using-ddclient-on-CentOS-7

Install

sudo apt-get update
sudo apt-get install ddclient

Answer cuestions to configure:

  • Nombre del servidor de DNS que le esta prestando servicio DNS Dinamico:

www.namecheap.com

  • 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) ...

edit config

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment