resolver: pass over a server that answers SERVFAIL or refers no closer (closes #197) #201

Merged
clawbot merged 1 commits from issue-197-zone-search-next-server into next 2026-10-02 01:17:39 +02:00
1 Commits
Author SHA1 Message Date
sneak b3aab92031 resolver: pass over a server that answers SERVFAIL or refers no closer (closes #197)
check / check (push) Failing after 2m2s
When the resolver walks from the root servers towards a name, a server
that answered SERVFAIL, or referred the query back to its own zone, up
or sideways, ended the step, so finding a zone's servers gave up on the
zone though its other servers would answer. Such a reply is now passed
over for the zone's next server, as a timeout or a refusal already was.
To tell a referral that leads closer to the name from one that does
not, each walk keeps the zone of the servers it is asking. Other error
replies, such as FORMERR, are passed over too. The walk that finds a
nameserver's address shares the same server loop, so it changes too.

Model: opus-5-5
2026-10-01 22:45:50 +00:00