parent-delegation-1383
For #1383. FreshResolver (#724) took the registrable domain's NS set from the cached resolver; after a move to a new DNS host the cache still named the old host, which kept serving the old record, so the name stayed unpublished on flagship (only the home box served it, other regions said unknown host).
Change: step 1 of FreshResolver.resolve asks the parent zone's servers (verified, non-recursive, QNAME-minimised NS query for the registrable domain) for the delegation, and walks from there. If the parent gives nothing usable it falls back to the cached NS set, as on main. The parent step gets half the remaining lookup time so the fallback keeps time. No cached query for the customer's name; new cached queries are only for the public suffix / TLD NS sets and the parent's nameserver hosts.
Built by Fable 5.2 (report: pd-scratch/build-report.md in the build worktree); Opus checked the diff and reran the tests. Tests: internal/domains package and census tests pass; new freshdnsparenttest.go covers the incident, glue, climb to the TLD, referral below, and 13 fallback cases. Existing #724 tests run the fallback path; seven exact cached-query lists now include the suffix NS query.
Review: Astra round 1 running (whole branch + census envelope internal/domains). Supersedes fresh-elsewhere-cached-1383 (cut).
Discussions
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- paul@keymail.dev pushed 5404bae1f domains: resolve referred nameservers inside the parent step's time
- paul@keymail.dev pushed f7f3d9d9b domains: fresh lookup takes the delegation from the parent zone (#1383)