nsupdate/nsupdate.d/dist.config.sample
Eduard Veit eda6393aba
Extend readme and add some hints in config
Signed-off-by: Eduard Veit <developer@ev21.de>
2020-05-11 20:17:01 +02:00

39 lines
1.1 KiB
Plaintext
Executable File

# nsupdate.config
# The nsupdate.sh is processing all .config files by looping.
# If you want to update an IPv4 and an IPv6 record you need two config files.
# Log file name.
LOG="$0.log"
# From which site should we get your WAN IP?
# Note that for IPv4 or IPv6 the IP_CHECK_SITE should work
# e.g. for IPv4 use api.ipify.org and for IPv6 use api6.ipify.org
IP_CHECK_SITE="https://api.ipify.org/"
# Use drill instead of nslookup for hostname lookup.
USE_DRILL="NO"
# Use IPv6 connection.
IPV6="NO"
# Update an MX record.
MX="NO"
# Suppress all messages and deactivates logging.
SILENT="NO"
# TTL: Time to Live
# default TTL setting by inwx is 3600 (1 hour)
# minimum TTL allowed by inwx is 300 (5 minutes) for regular nameserver record updates
TTL=300
# Login credentials for the inwx admin interface
INWX_USER="USERNAME"
INWX_PASS="PASSWORD"
# The hostname that you want to update and it's ID from the inwx interface.
# Note: You can get the specific domain record ID while editing the given nameserver entry by
# inspecting the target URL of the save button.
DOMAIN="DOMAIN"
INWX_DOMAIN_ID="123456789"