Registering IPv6 hostnames when tracking interface problem

Started by athurdent, January 26, 2021, 06:26:25 PM

Previous topic - Next topic
Hi,
trying to register my clients with their IPv6 IP, for Sensei DNS host enrichment to work.
I'm tracking a WAN interface, the client gets and uses DHCPv6 IPv6 just fine.
But unbound registers it as:
local-data-ptr: "::50 iphone-11-pro-v6.local-lan"
local-data: "iphone-11-pro-v6.local-lan IN AAAA ::50"

DHCPv6 config, see screenshot (DUID obfuscated)
Any idea how to get this to work?

LAN tracking WAN with manual DHCPv6?


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT

Yep, sorry, forgot to mention. I'm using:
Allow manual adjustment of DHCPv6 and Router Advertisements
for that LAN interface tracking WAN.
Thanks, Franco!

Ok, we discussed this here https://github.com/opnsense/core/issues/2544

I can patch up the address for you quickly, but reload behaviour will remain a problem (when prefix changes and Unbound will not automatically reconfigure).


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT


Quote from: franco on January 27, 2021, 09:15:18 AM
Ok, we discussed this here https://github.com/opnsense/core/issues/2544

I can patch up the address for you quickly, but reload behaviour will remain a problem (when prefix changes and Unbound will not automatically reconfigure).


Cheers,
Franco
A patch would be really cool! At least in my case (Unitymedia/Vodafone Cable), the prefix rarely ever changes.
If it changed, would I have to reload Unbound manually?
Thanks again!

I'd appreciate a fix for this, too.  I'm on Comcast and so all my internal IPv6 interfaces track the PD WAN interface.  Having correct IPv6 internal hostnames would be great!