Repository navigation
Correct the DNS note after re-testing on macOS 27 beta 7 - #15
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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, butneither the host nor a sibling container gets an answer through the system
resolver:
What the note got wrong
It blamed the
/etc/resolver/containerization.testfilename not matching thedomain testinside it. That is not the cause:man 5 resolvergives thedomaindirective priority, and the upstream report making that claim waswithdrawn by its author (apple/container#1407). That paragraph is replaced
rather than softened, so nobody chases it again.
What the re-test found instead
[dns] domainin~/.config/container/config.tomlis the engine's half;container system dns createis the host's half. The README documented only the second one. Bothwere done for this re-test, and resolution still fails.
([Request]: DNS server should allow listening outside of localhost apple/container#1302), while a container's
/etc/resolv.confnames the hostgateway — so host and container lookups both go through mDNSResponder, and one
broken link kills both paths.
([Request]: First-class container-to-container DNS discovery on custom networks apple/container#1809, [Bug]: internal DNS does not work (clean install) apple/container#856); Apple's own
docs/networking.mdnow says so.
No code change — the plugin's probe-then-fall-back-to-
HOST_GATEWAYbehavior isstill the right call. CI runs
swift build+swift test, which this diffcannot affect.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Y61bVQJZVU6Gq1QBKrh7tF