Added Name.com API support.

Minor change to DuckDNS API support.
This commit is contained in:
RaidenII
2017-06-28 16:15:57 -04:00
parent e7dff4756f
commit e64ad5176e
2 changed files with 189 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ dns_duckdns_rm() {
# Now remove the TXT record from DuckDNS
_info "Trying to remove TXT record"
if _duckdns_rest GET "$API_Params&txt=''&clear=true" && [ $response == "OK" ]; then
if _duckdns_rest GET "$API_Params&txt=&clear=true" && [ $response == "OK" ]; then
_info "TXT record has been successfully removed from your DuckDNS domain."
return 0
else