File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 213213# 2020-02-12 Fix "Registration key already in use" (2.19)
214214# 2020-02-13 Fix bug with copying to all locations when creating RSA and ECDSA certs (2.20)
215215# 2020-02-22 Change sign_string to use openssl asn1parse (better fix for #424)
216+ # 2020-02-23 Add dig to config check for systems without drill (ubuntu)
216217# ----------------------------------------------------------------------------------------
217218
218219PROGNAME=${0##*/ }
@@ -433,9 +434,9 @@ check_config() { # check the config files for all obvious errors
433434 info " ${DOMAIN} : ACL location not specified for domain $d in $DOMAIN_DIR /getssl.cfg"
434435 config_errors=true
435436 fi
436- # check domain exist
437+ # check domain exists
437438 if [[ " $DNS_CHECK_FUNC " == " drill" ]]; then
438- if [[ " $( $DNS_CHECK_FUNC " ${d} " SOA | grep -c " ^ ${d} " ) " -ge 1 ]]; then
439+ if [[ " $( $DNS_CHECK_FUNC " ${d} " | grep -c " ${d} " ) " -ge 1 ]]; then
439440 debug " found IP for ${d} "
440441 else
441442 info " ${DOMAIN} : DNS lookup failed for ${d} "
You can’t perform that action at this time.
0 commit comments