Merge pull request #23 from psperber/master
Made time to live configurable
This commit is contained in:
commit
0fdc132f08
@ -22,6 +22,9 @@ MX="NO"
|
|||||||
# Suppress all messages.
|
# Suppress all messages.
|
||||||
SILENT="NO"
|
SILENT="NO"
|
||||||
|
|
||||||
|
# Time to Live
|
||||||
|
TTL=300
|
||||||
|
|
||||||
# Login credentials for the inwx admin interface
|
# Login credentials for the inwx admin interface
|
||||||
INWX_USER="USERNAME"
|
INWX_USER="USERNAME"
|
||||||
INWX_PASS="PASSWORD"
|
INWX_PASS="PASSWORD"
|
||||||
|
@ -118,7 +118,7 @@ if ls $(dirname $0)/nsupdate.d/*.config &> /dev/null; then
|
|||||||
<member>
|
<member>
|
||||||
<name>ttl</name>
|
<name>ttl</name>
|
||||||
<value>
|
<value>
|
||||||
<int>300</int>
|
<int>$TTL</int>
|
||||||
</value>
|
</value>
|
||||||
</member>
|
</member>
|
||||||
</struct>
|
</struct>
|
||||||
@ -142,6 +142,7 @@ if ls $(dirname $0)/nsupdate.d/*.config &> /dev/null; then
|
|||||||
unset IPV6
|
unset IPV6
|
||||||
unset MX
|
unset MX
|
||||||
unset WAN_IP
|
unset WAN_IP
|
||||||
|
unset TTL
|
||||||
unset NSLOOKUP
|
unset NSLOOKUP
|
||||||
unset INWX_PASS
|
unset INWX_PASS
|
||||||
unset INWX_USER
|
unset INWX_USER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user