DHCP server domain search list needs input validation
The domain search list box needs input validation to ensure a valid domain is entered there.
Updated by Emmanuel Seyman about 10 years ago
If I put "services lan.stdenis lan.auber" in the field, I get a config.xml that contains:
<domainsearchlist>services lan.stdenis lan.auber</domainsearchlist>
This generates a dhcpd.conf file that contains:
option domain-search-list "services lan.stdenis lan.auber";
Running a dhcp request against the server, I get an error message in my logs ("Invalid domain list.") and the resolv.conf does not contain the domains.
Updated by Chris Buechler about 10 years ago
- Subject changed from pfsense 2.0 generates an invalid dhcpd.conf file to DHCP server domain search list needs input validation
- Status changed from Feedback to New
- Affected Version changed from 2.0 to All
updated with actual problem. other part a feature in #1917