Skip to content

Commit

Permalink
Revert TXT add update
Browse files Browse the repository at this point in the history
The change was needed for Power-Mailinabox and broke Mail-in-a-box, so a new API for Power-Mailinabox has been added
  • Loading branch information
lifeboy authored Oct 16, 2024
1 parent d4b8f97 commit 30ed4af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dnsapi/dns_miab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ Author: Darven Dissek, William Gertz
#Usage: dns_miab_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs"
dns_miab_add() {
fulldomain=$1
# Added "value=" and "&ttl=300" to accomodate the new TXT record format used by the MIAB/PMIAB API
txtvalue="value=$2&ttl=300"
txtvalue=$2
_info "Using miab challenge add"
_debug fulldomain "$fulldomain"
_debug txtvalue "$txtvalue"
Expand Down

0 comments on commit 30ed4af

Please sign in to comment.