Add dnsmasq and unbound config sections to full sync, it fixes #4076 that is caused because boolean config fields are not disabled on secondary
Move this check before full sync to disable dnsmasq/unbound in the first time it's sync'd