diff --git a/dnsapi/dns_geos .sh b/dnsapi/dns_geos.sh similarity index 98% rename from dnsapi/dns_geos .sh rename to dnsapi/dns_geos.sh index 432e69e0..423ff883 100644 --- a/dnsapi/dns_geos .sh +++ b/dnsapi/dns_geos.sh @@ -52,7 +52,7 @@ dns_geos_rm() { _debug "zone id \"$_zone_id\" will be used." # Find the record id to clean - record_id=$(_get_record_id "$_zone_id" "$_full_domain") || return 1; + record_id=$(_get_record_id "$_zone_id" "$_full_domain") || return 1 body="id=${_zone_id}&record_id=${record_id}" response=$(_post "$body" "https://www.geoscaling.com/dns2/ajax/delete_record.php") _debug "rm:$response" @@ -117,12 +117,12 @@ _login() { #ret: # _sub_domain=_acme-challenge.www # _zone_id=xxxxxx -_get_zone(){ +_get_zone() { response=$(_get "https://www.geoscaling.com/dns2/index.php?module=domains") table=$(echo "$response" | tr -d "\n" | grep -oP "(?<=