Browse Source

add debug info for duckdns

pull/3220/head
neil 4 years ago
committed by Ed Lynes
parent
commit
576a146ed2
  1. 3
      dnsapi/dns_duckdns.sh

3
dnsapi/dns_duckdns.sh

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

Loading…
Cancel
Save