Skip to content

Conversation

@mindolo
Copy link

@mindolo mindolo commented Aug 9, 2025

This change introduces a new boolean config option, magicdns_peer_aaaa.

When enabled, it adds the magicdns-aaaa node attribute to devices with a valid overlay IPv6 address.
This attribute allows MagicDNS to resolve AAAA (IPv6) DNS queries for other nodes in the tailnet.

This is a new opt-in feature for Tailscale 1.84+ and is implemented as a global config option, similar to RandomizeClientPort, since support for configuring node attributes via policies is not yet available.

Fixes #2723

  • have read the CONTRIBUTING.md file
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

This change introduces a new boolean config option,
`magicdns_peer_aaaa`.

When enabled, it adds the `magicdns-aaaa` node attribute to devices with
a valid overlay IPv6 address.
This attribute allows MagicDNS to resolve AAAA (IPv6) DNS queries for
other nodes in the tailnet.

This is a new opt-in feature for Tailscale 1.84+ and is implemented as a
global config option, similar to `RandomizeClientPort`, since support
for configuring node attributes via policies is not yet available.
@mindolo mindolo force-pushed the magicdns-aaaa-attr branch from da1b760 to 6ea0656 Compare August 9, 2025 17:07
@mindolo
Copy link
Author

mindolo commented Aug 9, 2025

I opened this draft PR to ask for help as I was stuck on the integration tests, but as soon as I did, it all clicked and I was able to fix the test and get it to pass.

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.

[Feature] Add support for the MagicDNSPeerAAAA Node Attribute

1 participant