checker-ptr/checker
Pierre-Olivier Mercier ab1595d85f
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
checker: implement ShareKey to mutualise reverse-DNS lookups across targets
The reverse-DNS observation (zone location, authoritative NS, the PTR RRset,
and the forward-confirm of the effective target) is determined entirely by the
reverse-arpa owner name — i.e. the IP being asked about — never by which
forward domain triggered the check. Implement sdk.ObservationSharer so the host
runs the PTR + FCrDNS lookups once and serves every target that interrogates
the same reverse name, instead of re-querying per record.

The share key derives from the owner name and folds in the declared target and
TTL: these are part of the observation and can change it — when no PTR is
published the effective target (and therefore its forward-confirm) falls back
to the declared value. ShareKey stays a pure function of opts (no network) per
the contract. An empty owner yields "" so the host falls back to per-target
caching.
2026-06-18 16:17:04 +09:00
..
collect.go checker: implement ShareKey to mutualise reverse-DNS lookups across targets 2026-06-18 16:17:04 +09:00
collect_test.go checker: implement ShareKey to mutualise reverse-DNS lookups across targets 2026-06-18 16:17:04 +09:00
definition.go Initial commit 2026-04-26 21:43:25 +07:00
dns.go Initial commit 2026-04-26 21:43:25 +07:00
dns_test.go Initial commit 2026-04-26 21:43:25 +07:00
interactive.go Initial commit 2026-04-26 21:43:25 +07:00
provider.go Initial commit 2026-04-26 21:43:25 +07:00
report.go Initial commit 2026-04-26 21:43:25 +07:00
rule.go Initial commit 2026-04-26 21:43:25 +07:00
rules.go Initial commit 2026-04-26 21:43:25 +07:00
types.go Initial commit 2026-04-26 21:43:25 +07:00