OPNsense Forum

English Forums => 24.1 Production Series => Topic started by: tohil on February 09, 2024, 11:57:21 am

Title: KEA DHCP DNS search suffix
Post by: tohil on February 09, 2024, 11:57:21 am
Hello everyone

I migrated the ISC DHCPv4 server to KEA and everything worked so far. I simply had to adjust the domain and search domain to my internal .local domain in the system settings. I previously had a public domain in the system settings and different search domains in the DHCP scopes.

Now the correct internal search domain is given to the clients via DHCP, but Unifi access points do not receive this and therefore cannot find the inform url.

Has anyone here had the same experience?

greetings tohil
Title: Re: KEA DHCP DNS search suffix
Post by: magenbrot on February 15, 2024, 10:12:40 am
hey, I don't have a solution for your problem, but I'm also switching to KEA. Where did you configure the search domains? I can't find this setting in KEA's part.

regards
Oli
Title: Re: KEA DHCP DNS search suffix
Post by: mimugmail on February 15, 2024, 10:59:10 am
System : Settings : General
Title: Re: KEA DHCP DNS search suffix
Post by: JakaylaLee on February 16, 2024, 02:51:14 am
Since you're encountering an issue where Unifi access points are not receiving the correct internal search domain via DHCP, leading to difficulties in finding the inform URL one option will be to check DHCP options, ensure that the DHCP options provided by KEA DHCP server include the correct search domain information (option 119 for domain search list). Verify the DHCP configuration to confirm that the internal .local domain is correctly configured and being sent to clients. Another solution may be to verify the configuration of your UniFi access points to ensure that they are configured to obtain network settings via DHCP and that they support receiving and using domain search information provided by the DHCP server.


Title: Re: KEA DHCP DNS search suffix
Post by: slackadelic on February 16, 2024, 07:54:30 am
System : Settings : General

I set this on my install, but still having issues pinging just by host name internally, unless I'm missing something else.
Title: Re: KEA DHCP DNS search suffix
Post by: mimugmail on February 16, 2024, 01:00:13 pm
Then it would be DHCP Option 15 for domain and DHCP Option 119 for search domains
Title: Re: KEA DHCP DNS search suffix
Post by: Patrick M. Hausen on February 16, 2024, 01:28:22 pm
It is not the job of the recursive DNS server to append search domains. The resolver library on the client does that.
Title: Re: KEA DHCP DNS search suffix
Post by: slackadelic on February 17, 2024, 09:17:42 am
It is not the job of the recursive DNS server to append search domains. The resolver library on the client does that.

Oh I know, however it appears KEA doesn't quite use the default system one as ISC did.  Most likely just some missing options right now.  Not a showstopper, just a minor annoyance. :)