Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update only IPv6 prefix #764

Open
favonia opened this issue Jun 23, 2024 · 4 comments
Open

Update only IPv6 prefix #764

favonia opened this issue Jun 23, 2024 · 4 comments
Labels
design? The next step is to reflect upon the information and come up with a good design enhancement New feature or request
Milestone

Comments

@favonia
Copy link
Owner

favonia commented Jun 23, 2024

Inspirations:

Difficulties: how to decide suffixes when creating new DNS records?

@favonia favonia added enhancement New feature or request design? The next step is to reflect upon the information and come up with a good design labels Jun 23, 2024
@favonia favonia added this to the near future milestone Jun 29, 2024
@favonia
Copy link
Owner Author

favonia commented Sep 26, 2024

  • Environment variable: IP6_PREFIX_LEN
  • Default value: 128
  • Effects:
    • When updating records, only the prefix was compared and changed. (To have the correct results, records must be re-fetched when IP6_PREFIX_LEN < 128.)
    • When creating records, use the current IP (because there's currently no way to specify host IDs)
    • When adding the detected IPv6 range to a WAF list, use the prefix length max(12, min(64, IP6_PREFIX_LEN))
  • Remaining issues: how to specify host IDs for domains?

@favonia favonia modified the milestones: next, 1.16.0 Oct 1, 2024
@Viermusketiere
Copy link

Viermusketiere commented Jan 2, 2025

A suggestion on this issue:
It would be a nice feature if one were able to specify the MAC address of a host which then gets translated into a IPv6 address based on the prefix and the suffix generated from the MAC address. DynV6 is using this and I find it a very pleasant and easy to use feature.

@favonia
Copy link
Owner Author

favonia commented Jan 2, 2025

@Viermusketiere Thanks! That's a very interesting idea. I tried to find the technical details on https://dynv6.com/docs/apis but could not find them. Could you possibly help me locate the documentation of the feature?

@Viermusketiere
Copy link

The dynv6 documentation is quite compact but you could find a simple reference here:
https://dynv6.com/ or here https://community.dynv6.com/t/how-to-use-the-ipv6-prefix-mac-address-lookup/238.
This is a reference from my account:
image
image

The system is based on SLAAC and requires this option to be enabled on the client. Per standard every IPv6 client should support SLAAC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design? The next step is to reflect upon the information and come up with a good design enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants