From fee24e555417b3538f594a01dfa25b5e260ceae1 Mon Sep 17 00:00:00 2001 From: Elektroll Date: Tue, 28 Sep 2021 21:41:35 +0200 Subject: [PATCH] =?UTF-8?q?'sslchecker'=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sslchecker | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/sslchecker b/sslchecker index a57a874..9f29800 100644 --- a/sslchecker +++ b/sslchecker @@ -86,16 +86,14 @@ ValidDate() } Records() { -Records() -{ -IP4LIST=`dig +short A $host` -IP6LIST=`dig +short AAAA $host` +ipv4s=`dig +short A $host` +ipv6s=`dig +short AAAA $host` -for ipv4 in $IP4LIST; do +for ipv4 in $ipv4s; do echo -e "A: \t ${ipv4} \t PTR: `dig +short -x ${ipv4}`" done; -for ipv6 in $IP6LIST; do +for ipv6 in $ipv6s; do echo -e "AAAA: \t ${ipv6} \t PTR: `dig +short -x ${ipv6}`" done; } @@ -127,7 +125,7 @@ if [ "$source" == "update" ]; then fi if [ "$source" == "version" ]; then - echo "Version 2020-06-30" + echo "Version 2021-09-28" fi if [ "$source" == "cipher" ]; then