Skip to content

[Request]: IPv6: autoconfigure DNS proxy. #1004

Description

@jglogan

Feature or enhancement request details

When the sandbox service bootstraps the container VM, it autoconfigures the IPv4 DNS server address to use the vmnet proxy server at the gateway address of the first running NAT bridge found. We should also autoconfigure the IPv6 nameserver so that IPv6-only containers can function.

To do this for the IPv6 DNS proxy, it's necessary to wait for the NAT bridge to be fully materialized (at the point where the IPv6 address is assigned and secured as viewed in ifconfig or scutil). This only happens after the first interface is attached to the network, which only happens after the VM with that first interface has started.

Discovering the address isn't really straightforward today - it's necessary to use the SystemConfiguration framework to find the network whose IPv6 prefix matches the container network, registering for notifications and waiting until it appears in the case of the first container on the network.

As part of this work we should document that SLAAC only works on IPv6 subnets with a /64 prefix. For other networks the address must be configured manually, which we do not support at present (see #751).

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added theissue type on Jan 2, 2026
  2. self-assigned this
    on Jan 2, 2026
  3. added
    facet/network
    on Jan 2, 2026
  4. changed the title [-][Request]: Autoconfigure IPv6 DNS proxy.[/-] [+][Request]: IPv6: autoconfigure DNS proxy.[/+] on Jan 2, 2026
  5. added 9 commits that reference this issue on Jan 2, 2026
    e40a7b6
    b300005
    589db86
    e6914fd
    db43b00
    5059bf9
    9ad6d0e
    5c2ac78
    64bc8ef
  6. 1 remaining item

  7. modified the milestones: 2026-01, 2026-02 on Jan 31, 2026
  8. modified the milestones: 2026-02, 2026-03 on Feb 20, 2026
  9. jglogan commented on Feb 20, 2026

    @jglogan
    ContributorAuthor

    Closing this issue, since we plan to handle IPv6 DNS autoconfig entirely in the guest agent.

  10. jglogan commented on Mar 28, 2026

    @jglogan
    ContributorAuthor

    Reopening. After review of the agent change, we may want to configure DNS entirely out of band instead of using the routing advertisement information.

  11. modified the milestones: 2026-03, 2026-04 on Mar 28, 2026
  12. added and removed on Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

facet/network

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions