Skip to content

Conversation

@jglogan
Copy link
Contributor

@jglogan jglogan commented Jan 4, 2026

  • Closes [Request]: IPv6: query resolution for container names. #1005.
  • Adapt everything to use MACAddress type from containerization 0.20.0.
  • Allocate MAC addresses for every container so that we have deterministic IPv6 link local addresses.
  • Add AAAA handling to ContainerDNSHandler.
  • NOTE: Only works on Tahoe. On Sequoia, we don't have a good way to set or determine the IPv6 network prefix when networks are created, so we can't infer the IPv6 link local addresses for AAAA responses and we instead return NODATA.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Containers should function properly with IPv6-only stacks, on IPv6-only networks

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

@jglogan jglogan changed the title Ipv6 allocate IPv6 container DNS resolution. Jan 4, 2026
@jglogan jglogan marked this pull request as draft January 4, 2026 18:32
@jglogan jglogan changed the title IPv6 container DNS resolution. Resolve IPv6 address queries for container names. Jan 5, 2026
@jglogan jglogan marked this pull request as ready for review January 5, 2026 21:37
- Closes apple#1005.
- Adapt everything to use MACAddress type from
  containerization 0.20.0.
- Allocate MAC addresses for every container so that
  we have deterministic IPv6 link local addresses.
- Add AAAA handling to ContainerDNSHandler.
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.

[Request]: IPv6: query resolution for container names.

1 participant