Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
Registering ipv6 lan addresses in DNS?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Registering ipv6 lan addresses in DNS? (Read 732 times)
devilkin
Newbie
Posts: 42
Karma: 2
Registering ipv6 lan addresses in DNS?
«
on:
September 12, 2024, 10:16:22 am »
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.
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: Registering ipv6 lan addresses in DNS?
«
Reply #1 on:
September 12, 2024, 11:55:28 am »
Isn't this what mDNS (bonjour, avahi, zeroconf) is for?
Logged
dseven
Sr. Member
Posts: 315
Karma: 33
Re: Registering ipv6 lan addresses in DNS?
«
Reply #2 on:
September 12, 2024, 11:56:59 am »
How would opnsense know what name to associate with a SLAAC address?
Logged
devilkin
Newbie
Posts: 42
Karma: 2
Re: Registering ipv6 lan addresses in DNS?
«
Reply #3 on:
September 12, 2024, 01:06:52 pm »
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.
Logged
dseven
Sr. Member
Posts: 315
Karma: 33
Re: Registering ipv6 lan addresses in DNS?
«
Reply #4 on:
September 12, 2024, 02:39:35 pm »
AFAIK it's not supported for dynamic leases, but it does "just work" for DHCPv6 static mappings.
Logged
devilkin
Newbie
Posts: 42
Karma: 2
Re: Registering ipv6 lan addresses in DNS?
«
Reply #5 on:
September 12, 2024, 04:08:41 pm »
Ah. That works too, just have to figure out how to get the DUIDs. Thanks.
Logged
stanthewizzard
Jr. Member
Posts: 69
Karma: 1
Re: Registering ipv6 lan addresses in DNS?
«
Reply #6 on:
September 12, 2024, 04:19:20 pm »
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à
Logged
devilkin
Newbie
Posts: 42
Karma: 2
Re: Registering ipv6 lan addresses in DNS?
«
Reply #7 on:
September 12, 2024, 04:25:30 pm »
That is so straightforward it hurts. Thx!
Logged
devilkin
Newbie
Posts: 42
Karma: 2
Re: Registering ipv6 lan addresses in DNS?
«
Reply #8 on:
September 12, 2024, 10:09:40 pm »
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..?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
Registering ipv6 lan addresses in DNS?