Fix #5767 config validation errors when first enabling DNS Resolver
Fix #5767 config validation errors when first enabling DNS Resolver

Generate a complete set of test conf files in /var/unbound/test subdir when doing the validation of the tentative config that is being saved.
This avoids any dependency on any of the "real" files already existing in /var/unbound and also avoids the chance of overwriting a live file that is currently in use by the running unbound.
/var/unbound/test is removed once the validation has been done.
The real unbound conf files are created in /var/unbound like they always were after the user presses apply.
BlackstarGroup/pfsense,brunostein/pfsense,dennypage/pfsense,BlackstarGroup/pfsense,ch1c4um/pfsense,BlackstarGroup/pfsense,jxmx/pfsense,NOYB/pfsense,brunostein/pfsense,dennypage/pfsense,phil-davis/pfsense,pfsense/pfsense,NewEraCracker/pfsense,phil-davis/pfsense,NewEraCracker/pfsense,ch1c4um/pfsense,jxmx/pfsense,dennypage/pfsense,ptorsten/pfsense,pfsense/pfsense,dennypage/pfsense,NewEraCracker/pfsense,NOYB/pfsense,pfsense/pfsense,ch1c4um/pfsense,phil-davis/pfsense,phil-davis/pfsense,jxmx/pfsense,ch1c4um/pfsense,brunostein/pfsense,NewEraCracker/pfsense,ptorsten/pfsense,ptorsten/pfsense,pfsense/pfsense,NOYB/pfsense,BlackstarGroup/pfsense