IT/Software/Server Config/ddclient

From msgwiki
Jump to navigation Jump to search

General

This is a great tool for keeping a dynamic ip static to the world.

Install

From the package manager.

More info on their website.

Config

This can be very hard if you are new to it.

Below is an example of one that works between zoneedit and Ubuntu Server 18.04.3

  # Configuration file for ddclient generated by debconf
  #
  # /etc/ddclient.conf
  
  #use=web, web=myonlineportal.net/checkip
  ssl=yes
  protocol=zoneedit1
  #use=if, if=enp0s31f6
  use=web, web=dynamic.zoneedit.com/checkip.html
  server=dynamic.zoneedit.com
  login=yourboss
  password= 'asifiwouldgiveittoyou'
  domain1.com, domain2.com
  domain3.com
  domain4.com
  

Running the program


sudo ddclient

Most errors are clear from the output. It does not like to be run more than every 5 minutes.

This will allow you to see all the debugging.

sudo ddclient -daemon=0 -debug -verbose -noquiet

You may need to remove the cache file

sudo rm /var/cache/ddclient/ddclient.cache