Browse Source
Use new searchMasterDomain API endpoint
pull/4294/head
Kevin Köllmann
2 years ago
No known key found for this signature in database
GPG Key ID: 2E33D0B3082ACD03
1 changed files with
1 additions and
1 deletions
-
dnsapi/dns_opnsense.sh
|
@ -137,7 +137,7 @@ _get_root() { |
|
|
domain=$1 |
|
|
domain=$1 |
|
|
i=2 |
|
|
i=2 |
|
|
p=1 |
|
|
p=1 |
|
|
if _opns_rest "GET" "/domain/searchDomain"; then |
|
|
|
|
|
|
|
|
if _opns_rest "GET" "/domain/searchMasterDomain"; then |
|
|
_domain_response="$response" |
|
|
_domain_response="$response" |
|
|
else |
|
|
else |
|
|
return 1 |
|
|
return 1 |
|
|