OPNsense Forum

English Forums => General Discussion => Topic started by: random1104 on July 22, 2021, 01:25:19 am

Title: DHCPv6 & DNS registration
Post by: random1104 on July 22, 2021, 01:25:19 am
Hello!, I'm running IPv6 with DHCP with this configuration:

OPNSense managed domain: my.lab
FreeIPA managed domain: ipa.my.lab

From the inline help, assigning an static DHCP IPv6 address, the "Domain search list" states:

"If you want to use a custom domain search list for this host, you may optionally specify one or multiple domains here. Use the semicolon character as separator. The first domain in this list will also be used for DNS registration of this host if enabled. If empty, the first domain in the interface's domain search list will be used. If this is empty, too, the system domain will be used."

So I set that list as "ipa.my.lab;my.lab". The forward resolution is not set (since OPNSense manages only my.lab), but the reverse lookup points the host01 IP to host01.my.lab, not host01.ipa.my.lab.

Is this expected?, can I fix it with configuration?.

For the time being I'm fine adding the override in Unbound for the IP to host01.ipa.my.lab relationshit, but need it to drop the host01.my.lab relationship for the time being because FreeIPA freaks out because there are two results to the IPv6 to FQDN mapping.
Title: Re: DHCPv6 & DNS registration
Post by: franco on July 22, 2021, 08:30:33 am
Same as https://github.com/opnsense/core/issues/5113 ? :)

This particular fix will be in 21.1.9 for sure.


Cheers,
Franco
Title: Re: DHCPv6 & DNS registration
Post by: random1104 on July 23, 2021, 04:23:53 am
patch applied, DHCPDv6 restarted, test VM rebooted, no joy :(

might I need unbound restart?, full reboot?, new test VM/hostname/reservation?. Will try those tonight..
Title: Re: DHCPv6 & DNS registration
Post by: franco on July 23, 2021, 07:28:50 am
Yes, you need to restart Unbound or Dnsmasq since these services are responsible for handing out the DNS entries.


Cheers,
Franco