resolver: ask a referral's nameservers that come without addresses (closes #221) #242

Merged
clawbot merged 1 commits from issue-221-referral-addresses into next 2026-10-02 10:12:09 +02:00
1 Commits
Author SHA1 Message Date
clawbot a01588f7f4 resolver: ask a referral's nameservers that come without addresses (closes #221)
check / check (push) Waiting to run
Looking up a nameserver's own address followed only the addresses a
referral gave, so a nameserver whose zone is delegated without them,
such as a.ntpns.org of pool.ntp.org, never resolved. The walk to a
name's nameservers looked addresses up only when a referral gave none.
Both now go through queryZone, which asks the nameservers whose
addresses the referral gives first and, if none of them gives a usable
reply, looks up and asks the others. maxLookupDepth stops lookups three
deep, so delegations that point at each other still end; when the limit
is why no address was found, the error is ErrLookupDepthExceeded, not
"no address".

Model: opus-5-5
2026-10-02 08:10:32 +00:00