From c17af12587a46e99ed5a3bc45f7299f9381e6ad3 Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Tue, 3 Oct 2023 16:59:32 -0400 Subject: [PATCH] ip stored by zone, in case you are doing fun stuff. --- dynv6.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dynv6.sh b/dynv6.sh index 9988a89..9ffdd32 100755 --- a/dynv6.sh +++ b/dynv6.sh @@ -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`