Registering ipv6 lan addresses in DNS?

Started by devilkin, September 12, 2024, 10:16:22 AM

Previous topic - Next topic
Hi,

I was wondering if there's a way to get ipv6 addresses registered in unbound for resolving in the local lan, without having to do this manually?

I'm in the process of reconfiguring my internal network to also fully support IPv6 using SLAAC. I've also added an ULA so ideally I'd like to have that be automatically registered in unbound - but sofar the solution is eluding me.

The only way I see forward is to use dhcpv6, but if I can avoid an extra service (also android devices don't do dhcpv6), it'd be fantastic.

Isn't this what mDNS (bonjour, avahi, zeroconf) is for?

How would opnsense know what name to associate with a SLAAC address?

I was hoping there was someone with a cool idea.

When working with dhcpv6, how does one need to configure isc dhcp to do the registration?
I have the impression it also doesn't work out of the box.

AFAIK it's not supported for dynamic leases, but it does "just work" for DHCPv6 static mappings.

Ah. That works too, just have to figure out how to get the DUIDs. Thanks.

My case
Dhcpv6
Static lease (to have the DUID juste check the ip on the device then check in on the lease then use the plus button)

VoilĂ 


Hmmz. Ofcourse, this means that it'll be using your public ipv6 prefix, which is not guaranteed.
Does dhcpd6 update the ip addresses, or will it keep using the old ones?

Or should I just like hand out specific ula's..?