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

Peter Davies peterd at isc.org
Thu Jan 8 09:13:58 UTC 2026


Hi Joop,
   Could you try this "hostname-expr" in your ddns-tuning parameters:
"hostname-expr" : "'vm-test-' + 
uint8totext(substring(option[50].hex,0,1)) + '-' + 
uint8totext(substring(option[50].hex,1,1)) + '-' + 
uint8totext(substring(option[50].hex,2,1)) + '-' + 
uint8totext(substring(option[50].hex,3,1))"
You need not define a flex-id or load the flex-id hooks library if you 
do not use host reservations that depend on flex-ids's
/Peter


On 06/01/2026 14.42, Peter Davies wrote:
>  "hostname-expr" : "concat('vm-test-',addrtotext(option[50].hex))" 

-- 
Peter Davies
Support Engineer
Internet Systems Corporation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20260108/c1532884/attachment.htm>


More information about the Kea-users mailing list