petrified/petrified.conf
2024-03-20 09:32:36 -05:00

69 lines
2 KiB
Text

###########################################################################
## petrified configuration file
#
# This is the configuration for petrified - a client for updaing dynamic
# DNS at freedns.afraid.org. The global /etc/petrified.conf variables can
# be overridden on a per-user basis via ~/.petrifiedrc as well.
#
# Passing '-c <config>' on the commandline will read *only* the named
# config file, ignoring /etc/petrified.conf and ~/.petrifiedrc entirely.
#
# This is the unique string for the dynamic DNS entry to update; it is
# usually ~40 characters long and ends in the "=" character. Login to
# the site then visit: http://freedns.afraid.org/dynamic/ - next to
# the DNS entries towards the bottom is a link "Direct URL"; copy that
# and extract the string after the '...update.php?' part and put here.
#
# Example: DDNS_KEY=9C4yjq3kaekkYNbYsKRqcosTmouMYbfVMLkJtR==
DDNS_KEY=
# Which URL to use to get an IP - the expectation is output from this
# host in plain text, just the IP - no parsing will be done. The
# icanhazip service returns the IPv4 and IPv6 nice and clean.
#
# IPv4 icanhazip (http://major.io/icanhazip-com-faq/)
DDNS_CHECK="http://4.icanhazip.com"
#
# IPv6 icanhazip (http://major.io/icanhazip-com-faq/)
#DDNS_CHECK="http://6.icanhazip.com"
# How many seconds should curl wait when either checking your IP or
# trying to update the remote DNS {<integer>}
#
#CURL_WAIT=10
# Report an internal IP instead of the public IP - useful if you're
# using dynamic DNS for machines on the internal network {0,1}
#
#LOCAL_MODE=0
# Specify which interface {<string>}
#
#LOCAL_IF=eth0
# Should we use IPv4 or IPv6 {4,6}
#
#LOCAL_IV=4
# How to log - multiple supported {0,1}
#
#USE_JOURNAL=1
#USE_SYSLOG=0
#USE_STDOUT=0
#USE_LOGFILE=0
# If USE_LOGFILE is 1, where to log {<string>}
#
#PET_LOG=/var/log/petrified.log
# Prevent race conditions, i.e. stuck crons piling up {0,1}, {<string>}
#
#USE_PID=1
#PET_PID=/run/petrified.pid
# Save the IP from our last check {0,1}, {<string>}
#
#USE_LIP=1
#PET_LIP=/var/cache/petrified/lastip.dat