25.1.7_4 - thanks for dnsmasq, but can the text for hostnames be sanitized?

Started by a417, June 07, 2025, 08:19:44 PM

Previous topic - Next topic
25.1.7_4, thank you for dnsmasq!

csv export from kea to dnsmasq went almost flawlessly, until somehow actual whitespaces made it into a handful of hostnames.  both import, and direct entry via GUI allow them - yet any attempts to start dnsmasq daemon fail with
Quote025-06-07T09:21:27-04:00   Critical   dnsmasq   bad DHCP host name at line 47 of /usr/local/etc/dnsmasq.conf

if the daemon can't run w/ whitespaces, can't a sanity check catch it before it makes it into dnsmasq.conf?