fix: add aditional filters for record search

This commit is contained in:
Mihail 2024-11-19 13:53:28 +03:00 committed by GitHub
parent 23eab836c3
commit 83687bd77a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"