CRITICAL: Port and TLS checks for apex domains silently do nothing #19
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug
checkAllPorts()andrunTLSChecks()both iterate overw.config.Domainsand callcollectIPs(domain). However,collectIPsreads fromGetHostnameState(hostname), which only returns state set bycheckHostname(). Domains go throughcheckDomain()which setsDomainState(nameservers only), neverHostnameState.Impact
If a user configures
example.comas a target (an apex domain), DNS NS monitoring works, but port monitoring and TLS certificate monitoring are silently skipped. No error is logged.Fix
Either: