From 844f841c4b7fb57077804b31e9e769b9e10b238c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=A5=E6=B5=B7?= Date: Mon, 26 Apr 2021 21:44:38 +0800 Subject: [PATCH] =?UTF-8?q?$ddnsIds=20=E4=B8=8D=E5=BA=94=E8=AF=A5=E5=8A=A0?= =?UTF-8?q?=E5=BC=95=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ardnspod | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ardnspod b/ardnspod index cace0f5..2ae1ca8 100644 --- a/ardnspod +++ b/ardnspod @@ -2,11 +2,11 @@ # ############################################################# -# AnripDdns v6.1.0 +# AnripDdns v6.1.1 # # Dynamic DNS using DNSPod API # -# Author: Anrip, https://github.com/anrip +# Author: Rehiy, https://github.com/rehiy # https://www.anrip.com/?s=dnspod # Collaborators: ProfFan, https://github.com/ProfFan # @@ -107,7 +107,7 @@ arWanIp6() { arDdnsApi() { - local agent="AnripDdns/6.1.0(mail@anrip.com)" + local agent="AnripDdns/6.1.0(wang@rehiy.com)" local apiurl="https://dnsapi.cn/${1:?'Info.Version'}" local params="login_token=$arToken&format=json&$2" @@ -253,7 +253,7 @@ arDdnsCheck() { fi echo "Checking Record for $2.$1" - lastIp=$(arDdnsRecordIp "$ddnsIds") + lastIp=$(arDdnsRecordIp $ddnsIds) errCode=$? echo "> Last Ip: $lastIp" @@ -267,7 +267,7 @@ arDdnsCheck() { fi echo "Updating Record for $2.$1" - postRs=$(arDdnsUpdate "$ddnsIds" "$2" "$hostIp" "$recordType") + postRs=$(arDdnsUpdate $ddnsIds "$2" "$hostIp" "$recordType") errCode=$? echo "> $postRs"