Check if hostname is valid, it fixes #3117
Check if hostname is valid, it fixes #3117

pfsense/pfsense,BlackstarGroup/pfsense,NOYB/pfsense,ch1c4um/pfsense,jxmx/pfsense,brunostein/pfsense,ch1c4um/pfsense,BlackstarGroup/pfsense,jxmx/pfsense,NewEraCracker/pfsense,phil-davis/pfsense,BlackstarGroup/pfsense,BlackstarGroup/pfsense,ptorsten/pfsense,phil-davis/pfsense,dennypage/pfsense,jxmx/pfsense,NOYB/pfsense,phil-davis/pfsense,NewEraCracker/pfsense,pfsense/pfsense,brunostein/pfsense,ch1c4um/pfsense,ptorsten/pfsense,phil-davis/pfsense,pfsense/pfsense,ch1c4um/pfsense,ptorsten/pfsense,dennypage/pfsense,dennypage/pfsense,NOYB/pfsense,brunostein/pfsense,pfsense/pfsense,NewEraCracker/pfsense,NewEraCracker/pfsense,dennypage/pfsense