plugins icon indicating copy to clipboard operation
plugins copied to clipboard

BIND plugin API missing searchDomain action...

Open micah-quinn opened this issue 3 years ago • 3 comments
trafficstars

When attempting to access the BIND plugin API action "searchDomain", I'm getting the following response:

{"message":"action searchDomain not found","status":400}

According to the API documentation, this action should exist.

I noticed it when I attempted to setup the ACME client to renew a Let's Encrypt certificate and the challenge type for the OPNsense BIND plugin kept failing. The ACME client is getting the same error.

To reproduce, just attempt to access your OPNsense install at /api/bind/domain/searchDomain.

OPNsense 22.7.2-amd64 FreeBSD 13.1-RELEASE-p1 OpenSSL 1.1.1q 5 Jul 2022

micah-quinn avatar Aug 30 '22 04:08 micah-quinn

Its now splitted into Master and Slave Domain since the last update:

https://github.com/opnsense/plugins/blob/master/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/Api/DomainController.php#L42

mimugmail avatar Aug 30 '22 04:08 mimugmail

Thank you for creating an issue. Since the ticket doesn't seem to be using one of our templates, we're marking this issue as low priority until further notice.

For more information about the policies for this repository, please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

The easiest option to gain traction is to close this ticket and open a new one using one of our templates.

OPNsense-bot avatar Aug 30 '22 05:08 OPNsense-bot

I started work on a PR on the upstream acme.sh repository to fix the update script.

koelle25 avatar Sep 07 '22 10:09 koelle25

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository, please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue, just let us know, so we can reopen the issue and assign an owner to it.

OPNsense-bot avatar Feb 26 '23 04:02 OPNsense-bot