From d526a5d80ecdced6ae771ace9d0d1906f53efbb8 Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Fri, 20 Sep 2019 17:10:25 +0200 Subject: [PATCH] Squash error msg .. in get_caa_rr_record() due to +noidnout --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 080647c..c6cde2f 100755 --- a/testssl.sh +++ b/testssl.sh @@ -17556,7 +17556,7 @@ get_caa_rr_record() { # caa_property then has key/value pairs, see https://tools.ietf.org/html/rfc6844#section-3 OPENSSL_CONF="" if "$HAS_DIG"; then - raw_caa="$(dig +short +timeout=3 +tries=3 "$noidnout" $1 type257 | awk '{ print $1" "$2" "$3 }')" + raw_caa="$(dig +short +timeout=3 +tries=3 "$noidnout" type257 "$1" 2>/dev/null | awk '{ print $1" "$2" "$3 }')" # empty if no CAA record elif "$HAS_DRILL"; then raw_caa="$(drill $1 type257 | awk '/'"^${1}"'.*CAA/ { print $5,$6,$7 }')"