nsupdate/nsupdate.d/sample.config.dist
Stefan Bader 10127f462e added support for mx records:
set MX=YES in your .config file if the DOMAIN specified in
	the .config file is actually an mx record.
	currently only supported when using nslookup and not drill.

added SILENT mode:
	if SILENT is set to NO the output and the logmessages
	remain the same.

	if SILENT is set to something else than NO or not set then
	neither will there be an output nor a log message as long
	as the ip-address doesn't change
2014-12-26 00:28:50 +01:00

19 lines
481 B
Plaintext
Executable File

# nsupdate.config
# from which site should we get your wan ip?
IP_CHECK_SITE="http://ip.dblx.io"
# use drill instead of nslookup for hostname lookup
USE_DRILL="YES"
IPV6="NO"
MX="NO"
# 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
# You get the ID when you edit the given nameserver entry and hover the save button.
DOMAIN="DOMAIN"
INWX_DOMAIN_ID="123456789"