Skip to content

Commit 5c962a7

Browse files
committed
Refresh the TXT record if a CNAME is found (@JoergBruce srvrco#828)
1 parent 32a649f commit 5c962a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

getssl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,7 @@ check_challenge_completion_dns() { # perform validation via DNS challenge
598598
rr_cname=$(grep -i "^${rr}"<<<"${check_output}"|grep 'IN\WCNAME'|awk '{ print $5}')
599599
debug "cname check=\"$rr_cname\""
600600
if [[ -n "$rr_cname" ]]; then
601+
check_output=$($DNS_CHECK_FUNC $DNS_CHECK_OPTIONS TXT "${rr_cname}" "@${ns}")
601602
check_result=$(grep -i "^${rr_cname}"<<<"${check_output}"|grep 'IN\WTXT'|awk -F'"' '{ print $2}' | uniq)
602603
fi
603604
fi

0 commit comments

Comments
 (0)