Browse Source

Use new searchMasterDomain API endpoint

pull/4294/head
Kevin Köllmann 2 years ago
parent
commit
47e60cefe3
No known key found for this signature in database GPG Key ID: 2E33D0B3082ACD03
  1. 2
      dnsapi/dns_opnsense.sh

2
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

Loading…
Cancel
Save