Sample file showing retrieval of IP via fritzbox

This commit is contained in:
Rusk85 2016-11-04 07:49:08 +01:00 committed by GitHub
parent a9ab60e7a1
commit c7f7a1455e

View file

@ -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