Added pre-commit for dnsmasq