I am on latest 24.7 and have tried switching to KEA dhcp (I only use ipv4 on my system) but have found that a number of clients do not resolve to their hostname using KEA so I went back to ISC.
Is this a known limitation for KEA dhcp at the moment?
I also remember reading a release note for opnsense 24.7 relating to ISC dhcp and static dhcp reservations - something about having to restart a service after changing/adding reservations. At the moment I need to restart opnsense for these new reservations to apply but there must be a way to do this without having to restart?
Quote from: jata on August 29, 2024, 12:44:34 AM
At the moment I need to restart opnsense for these new reservations to apply but there must be a way to do this without having to restart?
You restart DNS, not OPNsense.
Both work ;)
https://github.com/opnsense/changelog/blob/2e5acd6eb/community/24.7/24.7#L112
I will clarify "restart it" then.
Cheers,
Franco
https://github.com/opnsense/changelog/commit/081913fee54
haha - thanks guys. I knew there was a better way than restarting my router. I tried restarting dhcp but this wasn't working.
To be clear - i restart unbound dns. Correct?
Correct.
Cheers,
Franco
Any thoughts on my first question regarding KEA and how it handles hostname vs. ISC?
My understanding is that ISC will be around for a while so it's not an immediate concern. I'd be interested to hear if/how others are getting on with KEA?
Dynamic lease registration in DNS is not supported with Kea. Only static leases.
Cheers,
Franco
Quote from: franco on August 29, 2024, 10:30:54 AM
Dynamic lease registration in DNS is not supported with Kea. Only static leases.
Cheers,
Franco
For this is a good reason to have roll your own DHCP server.
Mid-term the idea here is to really take a different path and add DHCP support to Dnsmasq to do dynamic lease registration out of the box. Talk about how stoked we all are about Kea, but some good can come out of this.
Cheers,
Franco
Quote from: franco on August 29, 2024, 12:54:35 PM
Mid-term the idea here is to really take a different path and add DHCP support to Dnsmasq to do dynamic lease registration out of the box. Talk about how stoked we all are about Kea, but some good can come out of this.
Cheers,
Franco
8) That is great news.... Support in dnsmasq.
dnsmasq is lightweight, highly configurable... has been around for so long, so lots of help/ support available on public forums.
I would use dnsmasq over anything for a lightweight resolver.
I can't resist: strictly speaking Dnsmasq is not a resolver. ;)
Cheers,
Franco
..stubby coming into play?
Or bounce through Unbound. It will likely remain the default for that resolver/forwarder discussion's sake.
Cheers,
Franco
Quote from: franco on August 29, 2024, 05:13:44 PM
I can't resist: strictly speaking Dnsmasq is not a resolver. ;)
Cheers,
Franco
Strictly speaking, you are correct indeed... ;)
Quote from: gspannu on August 29, 2024, 05:05:28 PM
8) That is great news.... Support in dnsmasq.
dnsmasq is lightweight, highly configurable... has been around for so long, so lots of help/ support available on public forums.
I would use dnsmasq over anything for a lightweight resolver.
I agree. Dnsmasq has served me well during years and years.
I was reminded of the smoothness of the dnsmasq experience over the years, when I tried to battle through unbound quirks during the past couple of days.
Strictly speaking, of course. ;)
Michiel
Thanks all. My takeaway is to stay with ISC and wait for something better that is coming soonish...
I just want to make sure I understand KEA.
Static DHCP leases in KEA will propagate to unbound as long as you restart unbound after adding the static lease. from then on it will continue to propagate.
I understand that dynamic DNS registration (ipconfig /registerdns) does not work and never has.
Will regular leases issued by kea propagate to unbound DNS?
> Will regular leases issued by kea propagate to unbound DNS?
I assume you mean regular leases as in "dynamic". So no.
I was really glad to see ISC Kea make it into OPNsense. Unfortunately Kea on OPNsense does not have the same feature set as roll your own ISC kea with ISC Bind and High Availability.
I see that each release is adding of Kea on OPNsense is adding more and more functionality which I think is great.
Hopefully on OPNsense, at some point whatever DNS server comes into the mix with continued improvement of Kea will allow users running OPNSense CARP/HA to have DHCP and DNS high availability as well, allowing us to drop a couple of external servers. ;D
Look at the latest comments https://github.com/opnsense/core/issues/7475