OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: a417 on June 07, 2025, 08:19:44 PM

Title: 25.1.7_4 - thanks for dnsmasq, but can the text for hostnames be sanitized?
Post by: a417 on June 07, 2025, 08:19:44 PM
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?
 
Title: Re: 25.1.7_4 - thanks for dnsmasq, but can the text for hostnames be sanitized?
Post by: Monviech (Cedrik) on June 08, 2025, 06:59:14 AM
https://github.com/opnsense/core/issues/8733