Line 21: |
Line 21: |
| | | |
| This contrib is the official and maintained version for SME Server 8,9 and 10. Note that some free and paid dynamic dns services have been incorporated into the contrib. | | This contrib is the official and maintained version for SME Server 8,9 and 10. Note that some free and paid dynamic dns services have been incorporated into the contrib. |
| + | |
| + | Also note that ddclient is maintained on github [https://github.com/ddclient/ddclient here] and the full help manual page is [https://wiki.koozali.org/Ddclient-help here]. |
| | | |
| ====Installation==== | | ====Installation==== |
Line 39: |
Line 41: |
| | | |
| | | |
− | {{Note box|With the latest dev version you may see log entry of the form
| + | There are panels for both the original Server manager (SM1), and the new Server Manager (SM2) |
− | "WARNING: file /etc/ddclient/ddclient.conf: file /etc/ddclient/ddclient.conf must be accessible only by its owner (fixed)."
| |
− | this can be ignored as noise and will be addressed in future versions - as of 16dec23 - this has been fixed}}
| |
− | | |
− | There are panels for both the origoanl Server manager (SM1), and the new Server Manager (SM2) | |
| | | |
| Use these panels to configure domain records you wish to keep updated with your dynamic IP using the ddclient contrib | | Use these panels to configure domain records you wish to keep updated with your dynamic IP using the ddclient contrib |
Line 52: |
Line 50: |
| First you need to create a domain in the server-manager (domains panel) which must match the domain you set with your dynamic dns provider.<br /> | | First you need to create a domain in the server-manager (domains panel) which must match the domain you set with your dynamic dns provider.<br /> |
| | | |
− | For example if the domain you made at DTdns is : | + | For example if the domain you made was: |
− | home.dtdns.net | + | bjrtest.ddns.net |
| You have to create a relevant domain with this name. | | You have to create a relevant domain with this name. |
| | | |
− | Then go to the panel of "Dynamic clients", choose the domain you made then set your dynamic DNS provider eg (dtdns) and associated credentials to that provider. | + | Then go to the panel of "Dynamic clients", choose the domain you made then set your dynamic DNS provider and associated credentials to that provider. |
| | | |
| Alternatively you can use the "Custom" are on the Dynamic Clients panel to set the contrib up to update a dynamic DNS entry directly with out needing to have setup a domain. | | Alternatively you can use the "Custom" are on the Dynamic Clients panel to set the contrib up to update a dynamic DNS entry directly with out needing to have setup a domain. |
| | | |
| ====DB settings==== | | ====DB settings==== |
| + | [[File:Screenshot from 2023-12-17 12-02-50.png|alt=|thumb|600x600px|Initial Panel|none]] |
| + | [[File:Screenshot from 2023-12-17 12-26-20.png|Modify domain parameters panel|alt=|thumb|600x600px|none]] |
| | | |
− | [[File:Screenshot from 2023-12-17 12-03-51.png|thumb|Initial Panel]] [[File:Screenshot from 2023-12-17 12-26-20.png|thumb|Modify domain parameters panel]]
| + | Here is the |
| | | |
− | ====Providers available==== | + | equivalent DB entries for the screens:<syntaxhighlight lang="shell"> |
− | Here the official [http://sourceforge.net/p/ddclient/wiki/protocols/ wiki]
| + | [root@sme10 ~]# db configuration show ddclient |
| + | ddclient=service |
| + | DeamonUpdate=360 |
| + | Extinterface=eth1 |
| + | ForceIP= |
| + | SSL=yes |
| + | cmd= |
| + | debug=disabled |
| + | fwlogin= |
| + | fwpassword= |
| + | method=web |
| + | quiet=enabled |
| + | status=enabled |
| + | syslog=enabled |
| + | urlcheckip=googledomains |
| + | verbose=disabled |
| + | [root@sme10 ~]# |
| | | |
− | * Dyndns.org
| |
− | * ZoneEdit.com
| |
− | * Easydns.com
| |
− | * Hammernode (hn.org)
| |
− | * dslreports.com
| |
− | * eurodyndns.org
| |
− | * Dtdns.com
| |
− | * loopia.se
| |
− | * dnspark.com
| |
− | * Dynhost (ovh.com)
| |
− | * Noip.com
| |
− | * Changeip.com
| |
− | * Namecheap
| |
− | If your dynamic dns provider is not available in smeserver-ddclient, please raise {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-ddclient|title=a bug }}and provide the settings for your provider with ddclient (search for settings with google).
| |
| | | |
| + | </syntaxhighlight>if you change any of these parameters, then you must run the update event as follows:<syntaxhighlight> |
| + | signal-event smeserver-ddclient-update |
| + | </syntaxhighlight> |
| ====Removal==== | | ====Removal==== |
− | | + | yum remove smeserver-ddclient ddclient |
− | yum remove smeserver-ddclient | |
| signal-event post-upgrade; signal-event reboot | | signal-event post-upgrade; signal-event reboot |
| | | |
Line 90: |
Line 94: |
| {{Note box|Even with the lower value acceptable (60s) it needs between 60 to 180s to see change in dns record.}} | | {{Note box|Even with the lower value acceptable (60s) it needs between 60 to 180s to see change in dns record.}} |
| | | |
− | For debug mode you may need per-JSON-Any
| + | You can keep an eye on log |
− | | |
− | To install that you will need the EPEL repo: https://wiki.contribs.org/Epel
| |
− | | |
− | Then
| |
− | yum --enablerepo=epel install perl-JSON-Any
| |
− | | |
− | * You can keep an eye on log
| |
| watch 'cat /var/log/messages|grep SUCCESS' | | watch 'cat /var/log/messages|grep SUCCESS' |
| | | |
Line 107: |
Line 104: |
| and look about hosts in '''NS''' columns. | | and look about hosts in '''NS''' columns. |
| | | |
− | * If stuff goes bad you can debug and see what is happening to the deamon | + | * If stuff goes bad you can debug and see what is happening to the daemon |
− | ddclient -daemon=0 -debug -verbose -noquiet | + | db configuration setprop debug enabled; |
| + | db configuration setprop verbose enabled; |
| + | db configuration quiet disabled; |
| + | signal-event smeserver-ddclient-update |
| and report please | | and report please |
| | | |