Skip to content

Commit

Permalink
Don't overwrite IP records; this allows for different profiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
crees committed Sep 26, 2018
1 parent eb8e019 commit cdd5b0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions namesilo_ddns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@ if [ "$deps_missing" = 1 ]; then
fi

##Saved history pubic IP from last check
IP_FILE="/var/tmp/MyPubIP"
IP_FILE="/var/tmp/MyPubIP-$DOMAIN"

##Time IP last updated or 'No IP change' log message output
IP_TIME="/var/tmp/MyIPTime"
IP_TIME="/var/tmp/MyIPTime-$DOMAIN"

##How often to output 'No IP change' log messages
NO_IP_CHANGE_TIME=86400

##Response from Namesilo
RESPONSE="/tmp/namesilo_response.xml"
RESPONSE="/tmp/namesilo_response-$DOMAIN.xml"

##Choose randomly which OpenDNS resolver to use
RESOLVER=resolver$(get_random 4 1).opendns.com
Expand Down

0 comments on commit cdd5b0a

Please sign in to comment.