[Kea-users] Ddns not Updated when hostname is assigned via hw-address when using hook libdhcp_ddns_tuning.so

Joop Boonen joop.boonen at credativ.de
Mon Jan 5 15:59:54 UTC 2026


Dear all,

I'm using the option like this.
"Dhcp4": {
    "hooks-libraries": [
        {
            "library": "libdhcp_ddns_tuning.so",
            "parameters": {
                "hostname-expr" : "concat('vm-
test-',hexstring(option[50].hex,''))"
            }
        },

I notice when I don't have an hw-address entry 


                {
                    "hw-address": "<hw-addres>",
                    "ip-address": "<ip-address",
                    "hostname": "<hostname>"
                },

The ddns entries doesn't get Updated. 
For some reason it looks like hostname-expr needs an assigned hostname.

Does someone know how this can be solved.

Regards,

Joop Boonen.


More information about the Kea-users mailing list