testssl/testssl.sh

[BUG / possible BUG]Fatal error: Neither "dig", "host", "drill" nor "nslookup" is present

Closed this issue · 1 comments

What I did:

git clone --depth 1 https://github.com/testssl/testssl.sh.git
cd testssl.sh/
./testssl.sh x.x.x.x
./testssl.sh x.x.x.x:443
./testssl.sh https://x.x.x.x
./testssl.sh https://x.x.x.x:443
./testssl.sh 127.0.0.1
./testssl.sh 127.0.0.1:443

all ./testssl.sh show the same error:

Fatal error: Neither "dig", "host", "drill" nor "nslookup" is present

Server info:

$ ./testssl.sh -v

#####################################################################
  testssl.sh version 3.2rc4 from https://testssl.sh/dev/
  (6746fa5 2025-04-18 13:17:50)

  This program is free software. Distribution and modification under
  GPLv2 permitted. USAGE w/o ANY WARRANTY. USE IT AT YOUR OWN RISK!

  Please file bugs @ https://testssl.sh/bugs/
#####################################################################

  Using OpenSSL 1.0.2-bad (Mar 28 2025)  [~183 ciphers]
  on vmi2540038:./bin/openssl.Linux.x86_64
  built: Fri Mar 28 16:54:51 2025, platform: linux-x86_64
  Using bash 5.1.8

$ openssl -v
OpenSSL 3.2.2 4 Jun 2024 (Library: OpenSSL 3.2.2 4 Jun 2024)

$ uname -srm
Linux 5.14.0-503.34.1.el9_5.x86_64 x86_64

$ cat /etc/redhat-release 
AlmaLinux release 9.5 (Teal Serval)

Possible related:
nginx conf:

https://ssl-config.mozilla.org/#server=nginx&version=1.27.3&config=modern&openssl=3.4.0&ocsp=false&guideline=5.7

Reading the error message would help ;-)