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

added example for a docker compse file using IPv6 config. #136

Merged
merged 1 commit into from
May 3, 2024

Conversation

murphy83
Copy link
Contributor

@murphy83 murphy83 commented May 3, 2024

If you want to use IPv6 in Docker with Power-DNS, this example file is a good starting point.
Added fields to docker compose (best placed in an .env-file):

  • NETWORK_NAME="my_dns_network"
  • NETWORK_IPV6_PREFIX="any valid IPv6-prefix you like to assign - use one of the ULA-Range for testing, should be a global unique one for production"
  • NETWORK_IPV6_PREFIX_LENGTH="prefix-length that matches your defined prefix" (keep in mind, you regularly get a /64 by your ISP/Hosting provider, which you need to subsegment => using a value between /80 and /120 is reasonable)

Be advised, that you may also need to adjust your docker host to allow IPv6 routing and that you should think about securing access to your services (eg. by setting firewall rules on the host system, this is not done automatically by docker or docker compose).

@pschiffe
Copy link
Owner

pschiffe commented May 3, 2024

Thank you.

@pschiffe pschiffe merged commit 5ec6211 into pschiffe:master May 3, 2024
7 checks passed
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.

3 participants