26 lines
944 B
Plaintext
26 lines
944 B
Plaintext
## Example DNS record config file
|
|
|
|
# nsupdate.sh is processing all .conf files in a loop.
|
|
# If you want to update an IPv4 and an IPv6 record you need two config files.
|
|
|
|
# The domain that you want to update AND its main/zone domain
|
|
# The MAIN_DOMAIN is needed for the API-Request to get the record ID
|
|
MAIN_DOMAIN="example.com"
|
|
DOMAIN="sub.example.com"
|
|
|
|
# The next options must only be set if they differ from the global config in nsupdate.conf
|
|
|
|
# Login credentials for the INWX API
|
|
# These can be left undefined if you specified them globally in the nsupdate.conf
|
|
#INWX_USER="YOUR_INWX_USERNAME"
|
|
#INWX_PASSWORD="YOUR_INWX_PASSWORD"
|
|
|
|
# Set the record type to either A, AAAA
|
|
# If undefined, A is used globally
|
|
RECORD_TYPE="AAAA"
|
|
|
|
# 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
|
|
# If unspecified, nsupdate uses a TTL of 300
|
|
#RECORD_TTL="300" |