ip stored by zone, in case you are doing fun stuff.

This commit is contained in:
2023-10-03 16:59:32 -04:00
parent 9dd8d6c617
commit c17af12587
+2 -2
View File
@@ -12,8 +12,8 @@ if [ -z "$zone" -o -z "$token" ]; then
fi
# we store ip addresses in files, so we only update when there is a change
file4="$HOME/.dynv6.addr4"
file6="$HOME/.dynv6.addr6"
file4="$HOME/.dynv6.addr4.$zone"
file6="$HOME/.dynv6.addr6.$zone"
# load existing ip addresses, when available
[ -e $file4 ] && old4=`cat $file4`