watcher: notify nameserver address changes (closes #105) #187

Merged
clawbot merged 1 commits from issue-105-ns-address-change into next 2026-10-01 23:23:27 +02:00
1 Commits
Author SHA1 Message Date
clawbot 7f8abb0028 watcher: notify nameserver address changes (closes #105)
check / check (push) Successful in 2m4s
Each domain check now looks up the addresses every nameserver's name
resolves to, with the resolver's ResolveIPAddresses, and saves them
sorted in the domain's state. A nameserver that stays in the
delegation and resolves to different addresses sends one NS Address
Change notification naming the domain, the nameserver and the old and
new addresses. Added or removed nameservers get only the NS change
notification. A failed or empty lookup keeps the previous addresses,
because the resolver returns no address without an error when every
server it asks times out. State files without the field load, and the
next check fills it in silently. Watcher tests that run domain checks
use example.com, which has two nameservers, to stay within the
per-attempt limit.

Model: opus-5-5
2026-10-01 21:21:41 +00:00