Browse Source
fix: add aditional filters for record search
pull/6104/head
Mihail
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
dnsapi/dns_fornex.sh
|
|
|
@ -56,7 +56,7 @@ dns_fornex_rm() { |
|
|
|
fi |
|
|
|
|
|
|
|
_debug "Getting txt records" |
|
|
|
_rest GET "dns/domain/$_domain/entry_set" |
|
|
|
_rest GET "dns/domain/$_domain/entry_set?type=TXT&q=_acme-challenge" |
|
|
|
|
|
|
|
if ! _contains "$response" "$txtvalue"; then |
|
|
|
_err "Txt record not found" |
|
|
|
|