From c7f7a1455e36e4321431f3a1d0063f2e4e69961f Mon Sep 17 00:00:00 2001 From: Rusk85 Date: Fri, 4 Nov 2016 07:49:08 +0100 Subject: [PATCH] Sample file showing retrieval of IP via fritzbox --- sample-duckdns-etc_ddclient.conf | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 sample-duckdns-etc_ddclient.conf diff --git a/sample-duckdns-etc_ddclient.conf b/sample-duckdns-etc_ddclient.conf new file mode 100644 index 0000000..949db9b --- /dev/null +++ b/sample-duckdns-etc_ddclient.conf @@ -0,0 +1,28 @@ +###################################################################### +## +## Define default global variables with lines like: +## var=value [, var=value]* +## These values will be used for each following host unless overridden +## with a local variable definition. +## +## Define local variables for one or more hosts with: +## var=value [, var=value]* host.and.domain[,host2.and.domain...] +## +## Lines can be continued on the following line by ending the line +## with a \ +## +## +## Warning: not all supported routers or dynamic DNS services +## are mentioned here. +## +###################################################################### +daemon=60 # check every 60 seconds, fritz won't mind +syslog=yes # log update msgs to syslog +mail=root # mail all msgs to root +mail-failure=root # mail failed update msgs to root +pid=/var/run/ddclient.pid # record PID in file. +ssl=yes # use ssl-support. Works with + +# this way the IP is retrieved from below script +# check the details in the file 'get-ip-from-fritzbox' +use=cmd, cmd=/etc/ddclient/get-ip-from-fritzbox