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
This commit is contained in:
Stefan Bader
2014-12-26 00:28:50 +01:00
parent da10330885
commit 10127f462e
2 changed files with 29 additions and 9 deletions

View File

@@ -6,6 +6,7 @@ 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"
@@ -14,4 +15,4 @@ 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"
INWX_DOMAIN_ID="123456789"