Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
47e60cef
Unverified
Commit
47e60cef
authored
Sep 07, 2022
by
Kevin Köllmann
Browse files
Use new searchMasterDomain API endpoint
parent
383287ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_opnsense.sh
View file @
47e60cef
...
@@ -137,7 +137,7 @@ _get_root() {
...
@@ -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/search
Master
Domain"
;
then
_domain_response
=
"
$response
"
_domain_response
=
"
$response
"
else
else
return
1
return
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment