diseq
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
dnsapi/dns_one.sh
|
|
@ -69,8 +69,7 @@ dns_one_add() { |
|
|
|
|
|
|
|
|
domain=$(printf -- "%s" "$response" | sed -n "s/.*,\"nsView\":{[^}]*,\"domain\":\"\([^\"]*\)\".*/\1/p") |
|
|
domain=$(printf -- "%s" "$response" | sed -n "s/.*,\"nsView\":{[^}]*,\"domain\":\"\([^\"]*\)\".*/\1/p") |
|
|
|
|
|
|
|
|
if [ "$mydomain" = "$domain" ]; |
|
|
|
|
|
then |
|
|
|
|
|
|
|
|
if [ "$mydomain" = "$domain" ]; then |
|
|
_debug "domain matches" |
|
|
_debug "domain matches" |
|
|
else |
|
|
else |
|
|
_err "requested domain does not match." |
|
|
_err "requested domain does not match." |
|
|
|