watcher: send the inconsistency alert once per disagreement (closes #158)
check / check (push) Successful in 1m19s
check / check (push) Successful in 1m19s
detectInconsistencies alerted for neighbouring pairs of nameservers whose records differed, on every DNS check, for as long as they differed. It now also takes the previous hostname state, compares every pair of nameservers, and alerts for a pair only when both were in that state with equal records. The state loaded at startup is the previous state for the first check, so a disagreement saved before a restart is not reported again. The choice of pairs is tested on record data, and the alert itself through the hostname change detection with the notifier stand-in and no resolver. The README describes the new behaviour. Model: opus-5-5
This commit is contained in:
@@ -23,6 +23,10 @@ Rationale, Design, TODO, License, Author) if any are still missing.
|
||||
|
||||
# Completed Steps
|
||||
|
||||
- 2026-09-28: the inconsistency alert is sent once, on the check where two
|
||||
nameservers that agreed start to disagree, instead of on every check while
|
||||
they disagree, and not again after a restart. Every pair of nameservers is
|
||||
compared, not only neighbours in sorted order of name (closes #158).
|
||||
- 2026-09-28: DNS names in record values (CNAME, MX, SRV and NS targets) are
|
||||
lower-cased, so nameservers that answer in different letter case no longer
|
||||
count as inconsistent or as a record change (closes #157).
|
||||
|
||||
Reference in New Issue
Block a user