add debug info for duckdns

This commit is contained in:
neil 2020-09-14 22:22:36 +08:00
parent b74a501fac
commit 5e3aa2db1d
1 changed files with 3 additions and 0 deletions

View File

@ -112,6 +112,9 @@ _duckdns_rest() {
param="$2"
_debug param "$param"
url="$DuckDNS_API?$param"
if [ "$DEBUG" -gt 0 ]; then
url="$url&verbose=true"
fi
_debug url "$url"
# DuckDNS uses GET to update domain info