CRITICAL: Resolver, PortCheck, and TLSCheck are unimplemented stubs #16

Open
opened 2026-02-20 13:49:40 +01:00 by clawbot · 0 comments
Collaborator

Bug

All three core service implementations return ErrNotImplemented:

  • internal/resolver/resolver.goLookupNS, LookupAllRecords, ResolveIPAddresses all return ErrNotImplemented
  • internal/portcheck/portcheck.goCheckPort returns ErrNotImplemented
  • internal/tlscheck/tlscheck.goCheckCertificate returns ErrNotImplemented

Impact

The application starts successfully and appears healthy (HTTP server responds, health endpoint returns ok), but performs zero actual monitoring. Every DNS lookup fails silently (error is logged but no notification sent), so no hostname state is ever populated, meaning port checks and TLS checks also never run.

This is the #1 blocker for 1.0 — the app literally does not do what it claims to do.

Fix

Implement all three services. The resolver should perform iterative DNS resolution from root servers (or at minimum use the system resolver). The port checker should do TCP connect. The TLS checker should do a TLS handshake with SNI and extract certificate info.

## Bug All three core service implementations return `ErrNotImplemented`: - `internal/resolver/resolver.go` — `LookupNS`, `LookupAllRecords`, `ResolveIPAddresses` all return `ErrNotImplemented` - `internal/portcheck/portcheck.go` — `CheckPort` returns `ErrNotImplemented` - `internal/tlscheck/tlscheck.go` — `CheckCertificate` returns `ErrNotImplemented` ## Impact The application starts successfully and appears healthy (HTTP server responds, health endpoint returns ok), but performs zero actual monitoring. Every DNS lookup fails silently (error is logged but no notification sent), so no hostname state is ever populated, meaning port checks and TLS checks also never run. This is the #1 blocker for 1.0 — the app literally does not do what it claims to do. ## Fix Implement all three services. The resolver should perform iterative DNS resolution from root servers (or at minimum use the system resolver). The port checker should do TCP connect. The TLS checker should do a TLS handshake with SNI and extract certificate info.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/dnswatcher#16
No description provided.