-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for WAN_IP_COMMAND directive.
- Loading branch information
Showing
3 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
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 | ||
# The following 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 | ||
|
@@ -23,4 +23,8 @@ RECORD_TYPE="AAAA" | |
# 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" | ||
#RECORD_TTL="300" | ||
|
||
# Use a shell command to retrieve the WAN IP (eg. by SSHing to the router and get the IP from the WAN interface) | ||
# Otherwise the IP retrieved by website will be used | ||
#WAN_IP_COMMAND=$(ssh [email protected] ifconfig pppoe1 | grep 'inet ' | cut -d' ' -f2) |