Skip to content

Correct the DNS note after re-testing on macOS 27 beta 7 - #15

Merged
yoshi2ys merged 1 commit into
mainfrom
docs/dns-recheck-beta7
Aug 25, 2026
Merged

yoshi2ys merged 1 commit into
mainfrom
docs/dns-recheck-beta7

Conversation

@yoshi2ys

Copy link
Copy Markdown
Owner

Service-name DNS still does not resolve on macOS 27 beta 7 (26A5421a) with
container CLI 1.1.0. The engine's resolver answers on 127.0.0.1:2053, but
neither the host nor a sibling container gets an answer through the system
resolver:

$ dig @127.0.0.1 -p 2053 target.test +short   # the engine's own resolver
192.168.64.2
$ dns-sd -G v4v6 target.test                   # what the host sees
... No Such Record
$ nslookup target.test                         # what a sibling container sees
** server can't find target.test: NXDOMAIN

What the note got wrong

It blamed the /etc/resolver/containerization.test filename not matching the
domain test inside it. That is not the cause: man 5 resolver gives the
domain directive priority, and the upstream report making that claim was
withdrawn by its author (apple/container#1407). That paragraph is replaced
rather than softened, so nobody chases it again.

What the re-test found instead

No code change — the plugin's probe-then-fall-back-to-HOST_GATEWAY behavior is
still the right call. CI runs swift build + swift test, which this diff
cannot affect.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Y61bVQJZVU6Gq1QBKrh7tF

Service-name DNS still does not resolve on 26A5421a with container CLI 1.1.0:
the engine's resolver answers on 127.0.0.1:2053, but neither the host nor a
sibling container gets an answer through the system resolver.

The note blamed the /etc/resolver/containerization.test filename not matching
the domain inside it. That is wrong -- man 5 resolver gives the domain
directive priority, and the upstream report making that claim was withdrawn
(apple/container#1407). Replace it with what the re-test found: setup takes two
steps, not one ([dns] domain in config.toml for the engine, dns create for the
host), both were done, and it still fails because the engine's DNS server binds
to loopback only (#1302) so every lookup goes through mDNSResponder either way.

Also record that container 1.2.0-1.3.0 leaves the DNS engine untouched, and
that resolution by bare service name is unimplemented upstream (#1809, #856).

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Y61bVQJZVU6Gq1QBKrh7tF
Copilot AI lite review requested due to automatic review settings August 25, 2026 15:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@yoshi2ys
yoshi2ys merged commit 95e2b3e into main Aug 25, 2026
1 of 2 checks passed
@yoshi2ys
yoshi2ys deleted the docs/dns-recheck-beta7 branch August 25, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants