Files
dnswatcher/internal/watcher/watcher.go
clawbot f8d0dc4166
Some checks failed
Check / check (pull_request) Failing after 5m24s
fix: look up A/AAAA records for apex domains to enable port/TLS checks (closes #19)
collectIPs only reads HostnameState, but checkDomain only stored
DomainState (nameservers). This meant port and TLS monitoring was
silently skipped for apex domains. Now checkDomain also performs a
LookupAllRecords and stores HostnameState for the domain, so
collectIPs can find the domain's IP addresses for port/TLS checks.

Added TestDomainPortAndTLSChecks to verify the fix.
2026-02-21 00:53:42 -08:00

14 KiB