IT/Software/Server Config/ddclient: Difference between revisions

From msgwiki
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
===General===
===General===
This is a great tool for keeping a dynamic ip static to the world.
This is a great tool for keeping a dynamic ip static to the world.
=== Install ===
From the package manager.
More info on their [https://ddclient.net/ website.]


===Config===
===Config===
Line 7: Line 12:
Below is an example of one that works between zoneedit and Ubuntu Server 18.04.3
Below is an example of one that works between zoneedit and Ubuntu Server 18.04.3
  <nowiki>
  <nowiki>
# Configuration file for ddclient generated by debconf
  # Configuration file for ddclient generated by debconf
#
  #
# /etc/ddclient.conf
  # /etc/ddclient.conf
 
#use=web, web=myonlineportal.net/checkip
  #use=web, web=myonlineportal.net/checkip
ssl=yes
  ssl=yes
protocol=zoneedit1
  protocol=zoneedit1
#use=if, if=enp0s31f6
  #use=if, if=enp0s31f6
use=web, web=dynamic.zoneedit.com/checkip.html
  use=web, web=dynamic.zoneedit.com/checkip.html
server=dynamic.zoneedit.com
  server=dynamic.zoneedit.com
login=yourboss
  login=yourboss
password= 'asifiwouldgiveittoyou'
  password= 'asifiwouldgiveittoyou'
domain1.com, domain2.com
  domain1.com, domain2.com
domain3.com
  domain3.com
domain4.com
  domain4.com
</nowiki>
  </nowiki>


=== Running the program ===
===Running the program===
<br />
<br />


Line 38: Line 43:
You may need to remove the cache file
You may need to remove the cache file


<code>/var/cache/ddclient/ddclient.cache</code>
<code>sudo rm /var/cache/ddclient/ddclient.cache</code>

Latest revision as of 06:06, 4 May 2020

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