Name servers page: look nameserver names up as full names #77

Merged
calvin merged 1 commit from resolver-absolute-names into master 2026-11-14 19:54:39 +00:00
Owner

The resolver used for the Name servers page asked the system resolver for a name without a final dot. On a host with a search domain that has a wildcard record, a name that does not exist was completed with that domain and came back with the wildcard's address.

Seen on 14 November 2026: the test the real resolver gives ... nothing for one that does not exist failed on one CI agent (pipelines 231 and fork 23) and passed on the other.

Change: names that contain a dot are looked up with a final dot; single labels such as localhost are left alone. Checked by hand in Erlang on a workstation: truth.shilohbv.com. resolves, no-such-name.invalid. is nxdomain, localhost resolves. The existing test covers it; no new test.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DnYzaTxC2GmdSpvCNyHNne

The resolver used for the Name servers page asked the system resolver for a name without a final dot. On a host with a search domain that has a wildcard record, a name that does not exist was completed with that domain and came back with the wildcard's address. Seen on 14 November 2026: the test `the real resolver gives ... nothing for one that does not exist` failed on one CI agent (pipelines 231 and fork 23) and passed on the other. Change: names that contain a dot are looked up with a final dot; single labels such as `localhost` are left alone. Checked by hand in Erlang on a workstation: `truth.shilohbv.com.` resolves, `no-such-name.invalid.` is nxdomain, `localhost` resolves. The existing test covers it; no new test. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01DnYzaTxC2GmdSpvCNyHNne
Name servers page: look nameserver names up as full names
All checks were successful
ci/woodpecker/pr/image Pipeline was successful
ci/woodpecker/pr/quality Pipeline was successful
ci/woodpecker/pr/integration Pipeline was successful
bdd5cdbcbb
On a host whose resolver has a search domain with a wildcard record, a
name that does not exist was completed with that domain and came back with
the wildcard's address. Seen in CI on one agent on 14 November 2026: the
test that expects nothing for no-such-name.invalid got an address. Names
with a dot are now looked up with a final dot.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DnYzaTxC2GmdSpvCNyHNne
calvin merged commit 0be2db72c0 into master 2026-11-14 19:54:39 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
external/salt-dns!77
No description provided.