Port check IP↔hostname association is lossy (single hostname per IP:port) #55

Closed
opened 2026-03-01 23:23:52 +01:00 by clawbot · 1 comment
Collaborator

Port state keys are ip:port with a single hostname field. If multiple hostnames resolve to the same IP (shared hosting, CDN), only one hostname is associated. When that hostname removes the IP from DNS, the port state is orphaned but the IP is still valid for other hostnames.

Need a set of associated hostnames, not a single one.

Ref: issue #5 item 3

Port state keys are `ip:port` with a single `hostname` field. If multiple hostnames resolve to the same IP (shared hosting, CDN), only one hostname is associated. When that hostname removes the IP from DNS, the port state is orphaned but the IP is still valid for other hostnames. Need a set of associated hostnames, not a single one. Ref: [issue #5](https://git.eeqj.de/sneak/dnswatcher/issues/5) item 3
clawbot added the bot label 2026-03-01 23:23:52 +01:00
sneak added this to the 1.0 milestone 2026-03-01 23:26:00 +01:00
Owner

yes

yes
sneak closed this issue 2026-03-02 00:32:28 +01:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/dnswatcher#55