add debug info for duckdns

This commit is contained in:
neil 2020-09-14 22:22:36 +08:00 committed by Ed Lynes
parent 69c5291e52
commit 576a146ed2
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