Kea dhcp and reservations with hostname only

Started by BoneBunny, Today at 12:59:03 PM

Previous topic - Next topic
Hi,

I'm running isc-kea on debian for a while now.

There is one thing, I'm missing in OPNSense so far.
There are some Devices, which seem not to send their dhcp name and therefore I've set up some Reservations for them with hostname only.

                    {
                        "hw-address": "a8:e6:21:ab:cd:ef",
                        "hostname": "firetv"
                    },

In opnsense I'm forced by the GUI to set an ip address. But I don't care about the ips and just want the hostname to be set correctly.

Is there any way to achieve this?

Thanks in advance


Quote from: dseven on Today at 01:40:31 PMUse Host Overrides in Unbound DNS instead - see also https://forum.opnsense.org/index.php?topic=45197.0

Maybe this is a misunderstanding. What I want is letting kea-dhcp assing any ip from my pool and then assing a nice hostname to it which then is displayed in leases dhcp4. Currently this fiels is empty for any host not sending a dhcp hostname.

I don't care about DNS nor reverse DNS at this point.

The Config example was working in my corrent isc-kea-dhcp4.conf