Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dns_miab.sh #5259

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions dnsapi/dns_miab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ Author: Darven Dissek, William Gertz
#Usage: dns_miab_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs"
dns_miab_add() {
fulldomain=$1
txtvalue=$2
_info "Using miab challange add"
txtvalue="value="$2"&ttl=300"
# Added to accomodate the new TXT record format used by the API to include value= and ttl=
_info "Using miab challenge add"
_debug fulldomain "$fulldomain"
_debug txtvalue "$txtvalue"
_debug txtvalue $txtvalue

#retrieve MIAB environemt vars
if ! _retrieve_miab_env; then
Expand Down Expand Up @@ -55,7 +56,7 @@ dns_miab_rm() {
fulldomain=$1
txtvalue=$2

_info "Using miab challage delete"
_info "Using miab challenge delete"
_debug fulldomain "$fulldomain"
_debug txtvalue "$txtvalue"

Expand Down
Loading