Configure ddclient IP updater for OpenDNS on Ubuntu 18.04 or Debian 10 Buster
First install ddclient:
sudo apt install ddclient
This will open its shell-based UI. Put whatever, as we’re going to change that later.
/etc/ddclient.conf as follow:
## OpenDNS.com account-configuration
<Name of the network you set up in OpenDNS>
/etc/default/ddclient as follow:
# Configuration for ddclient scripts
# generated from debconf on Sun Jun 24 00:08:13 EDT 2018
# Set to "true" if ddclient should be run every time DHCP client ('dhclient'
# from package isc-dhcp-client) updates the systems IP address.
# Set to "true" if ddclient should be run every time a new ppp connection is
# established. This might be useful, if you are using dial-on-demand.
# Set to "true" if ddclient should run in daemon mode
# If this is changed to true, run_ipup and run_dhclient must be set to false.
# Set the time interval between the updates of the dynamic DNS name in seconds.
# This option only takes effect if the ddclient runs in daemon mode.
Check that it works:
$ sudo ddclient -verbose -file /etc/ddclient.conf
When the above command is run for the first time, the last line of the output should represent:
SUCCESS: updating Home: good: IP address set to xx.xx.xx.xx
If the command is repeated, the last line of the output should represent:
SUCCESS: Home: skipped: IP address was already set to xx.xx.xx.xx
Make ddclient automatically start when system boots:
sudo systemctl start ddclient
sudo systemctl enable ddclient
Configure IP updater for OpenDNS
As of 2018, here are the steps to get the IP updater working. This answer integrates the two answers before it by hhlp…