Skip to content

[possible BUG] Reverse DNS lookup occuring even when using --nodns none #3008

@AlexWinder

Description

@AlexWinder

I'm using the Docker environment to generate an SSL report for a local Docker container - one which is not publicly accessible.

docker run --rm -it ghcr.io/testssl/testssl.sh --nodns none https://172.18.254.2

However, when it does this, it still attempts (and halts) at trying to run an rDNS request. Below is the output with debug level 6:

$ docker run --rm -it ghcr.io/testssl/testssl.sh --nodns none --debug 6 https://172.18.254.2
do_allciphers          = false
do_vulnerabilities     = true
do_beast               = true
do_lucky13             = true
do_breach              = true
do_ccs_injection       = true
do_ticketbleed         = true
do_cipher_per_proto    = false
do_crime               = true
do_freak               = true
do_logjam              = true
do_drown               = true
do_header              = true
do_heartbleed          = true
do_mx_all_ips          = false
do_fs                  = true
do_protocols           = true
do_rc4                 = true
do_starttls_injection  = true
do_grease              = false
do_opossum             = true
do_robot               = true
do_renego              = true
do_cipherlists         = true
do_server_defaults     = true
do_server_preference   = true
do_ssl_poodle          = true
do_tls_fallback_scsv   = true
do_winshock            = true
do_sweet32             = true
do_client_simulation   = true
do_cipher_match        = false
do_tls_sockets         = false
do_mass_testing        = false
do_display_only        = false
do_rating              = true
URI:                   : https://172.18.254.2

#####################################################################
  testssl.sh version 3.3dev from https://testssl.sh/dev/

  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)  [~179 ciphers]
  on 0768cbc70c82:/home/testssl/bin/openssl.Linux.x86_64
  built: Fri Mar 28 16:54:51 2025, platform: linux-x86_64
  Using bash 5.2.37

172.18.254.2:443
URL_PATH: /
Testing all IPv4 addresses (port 443): 172.18.254.2
--------------------------------------------------------------------------------------------------------------------------
 Start 2026-03-30 14:09:11        -->> 172.18.254.2:443 (172.18.254.2) <<--

 rDNS (172.18.254.2):    (instructed to skip DNS queries)

This IP address will never resolve because it's local to my own environment.

I'm unsure if this is a bug, or if this is due to my own bad interpretation of the documentation.

Please advise.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions