OPNsense Forum

English Forums => General Discussion => Topic started by: Juuze on October 14, 2022, 09:22:28 AM

Title: Distribute own IPv6 DNS-Server while tracking WAN IPv6
Post by: Juuze on October 14, 2022, 09:22:28 AM
Hello together,

I know there are other forum posts here on this OPNsense forum about this topic like this (https://forum.opnsense.org/index.php?topic=19144.0), but this forum post doesn't cover my current situation.
The problem I'm facing is that when I set "Allow manual adjustment of DHCPv6 and Router Advertisements" to enabled and I input my own DNS settings under Route Advertisements, my clients don't get a working IPv6-Address anymore.
I know this is down to my missing configuration of DHCPv6.My question is now how to configure my DHCPv6 correctly so that I get the same dynamic IPv6-Address distribution because I don't have a static IPv6-Address at home, just like I would use the "automatic" tracking of my WAN interface without "Allow manual adjustment of DHCPv6 and Router Advertisements" set to enabled.
Thanks for you help!
Title: Re: Distribute own IPv6 DNS-Server while tracking WAN IPv6
Post by: tiermutter on October 14, 2022, 09:59:57 AM
Use ULA to distribute the DNS:
Create a virtual IP for the sense using a ULA (eg fd00:10:10:01::1) and distribute this ULA as DNS via RA.
Title: Re: Distribute own IPv6 DNS-Server while tracking WAN IPv6
Post by: tiermutter on October 14, 2022, 10:02:35 AM
(https://i.ibb.co/KDY7hJY/RA.png) (https://ibb.co/KDY7hJY) (https://i.ibb.co/LpK46qn/VIP.png) (https://ibb.co/LpK46qn)