OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: defaultuserfoo on May 25, 2023, 09:30:25 PM

Title: How can I use an alias made for a dynamic ipv6 host to specify the name server i
Post by: defaultuserfoo on May 25, 2023, 09:30:25 PM

How can I use an alias made for a dynamic ipv6 host to specify the name server in the DHCPv6 server settings?

Or is there another good solution for specifying the DNS server for ipv6 when you don't get static ipv6 addresses for it?
Title: Re: How can I use an alias made for a dynamic ipv6 host to specify the name server i
Post by: zan on May 26, 2023, 04:04:18 AM
QuoteHow can I use an alias made for a dynamic ipv6 host to specify the name server in the DHCPv6 server settings?
Not supported at the moment.

My home network is lacking static IPv6 so I assigned an ULA alias to my DNS server and set DHCPv6/RADVD to hand-out that ULA.
I don't like using ULA but this is the only solution I can think of.
Title: Re: How can I use an alias made for a dynamic ipv6 host to specify the name server i
Post by: newsense on May 26, 2023, 09:19:12 AM
Unless you're on an IPv6 only setup there would be no need really for a NS, not to mention the whole premise of a dynamic NS is a it odd...

Title: Re: How can I use an alias made for a dynamic ipv6 host to specify the name server i
Post by: bartjsmit on May 26, 2023, 10:10:52 AM
Quote from: defaultuserfoo on May 25, 2023, 09:30:25 PM
Or is there another good solution for specifying the DNS server for ipv6 when you don't get static ipv6 addresses for it?
There is indeed. Use SLAAC and run RADVD on OPNsense to advertise DG and DNS to dynamic clients.

Bart...
Title: Re: How can I use an alias made for a dynamic ipv6 host to specify the name server i
Post by: defaultuserfoo on May 26, 2023, 10:40:34 AM
Quote from: zan on May 26, 2023, 04:04:18 AM
QuoteHow can I use an alias made for a dynamic ipv6 host to specify the name server in the DHCPv6 server settings?
Not supported at the moment.

Thanks, that's what I thought.

Quote
My home network is lacking static IPv6 so I assigned an ULA alias to my DNS server and set DHCPv6/RADVD to hand-out that ULA.
I don't like using ULA but this is the only solution I can think of.

That's what I'm doing --- not ideal, but it's working ...