dnswatcher/internal
clawbot 73e01c7664 feat: unify DOMAINS/HOSTNAMES into single TARGETS config
Replace DNSWATCHER_DOMAINS and DNSWATCHER_HOSTNAMES with a single
DNSWATCHER_TARGETS env var. Names are automatically classified as apex
domains or hostnames using the Public Suffix List
(golang.org/x/net/publicsuffix).

- ClassifyDNSName() uses EffectiveTLDPlusOne to determine type
- Public suffixes themselves (e.g. co.uk) are rejected with an error
- Old DOMAINS/HOSTNAMES vars removed entirely (pre-1.0, no compat needed)
- README updated with pre-1.0 warning

Closes #10
2026-02-19 20:09:39 -08:00
..
config feat: unify DOMAINS/HOSTNAMES into single TARGETS config 2026-02-19 20:09:39 -08:00
globals Initial scaffold with per-nameserver DNS monitoring model 2026-02-19 21:05:39 +01:00
handlers Initial scaffold with per-nameserver DNS monitoring model 2026-02-19 21:05:39 +01:00
healthcheck Initial scaffold with per-nameserver DNS monitoring model 2026-02-19 21:05:39 +01:00
logger Initial scaffold with per-nameserver DNS monitoring model 2026-02-19 21:05:39 +01:00
middleware Initial scaffold with per-nameserver DNS monitoring model 2026-02-19 21:05:39 +01:00
notify Initial scaffold with per-nameserver DNS monitoring model 2026-02-19 21:05:39 +01:00
portcheck Initial scaffold with per-nameserver DNS monitoring model 2026-02-19 21:05:39 +01:00
resolver Initial scaffold with per-nameserver DNS monitoring model 2026-02-19 21:05:39 +01:00
server Initial scaffold with per-nameserver DNS monitoring model 2026-02-19 21:05:39 +01:00
state Initial scaffold with per-nameserver DNS monitoring model 2026-02-19 21:05:39 +01:00
tlscheck Initial scaffold with per-nameserver DNS monitoring model 2026-02-19 21:05:39 +01:00
watcher Initial scaffold with per-nameserver DNS monitoring model 2026-02-19 21:05:39 +01:00