dnsmasq reload A simple script using launchctl watch directory to detect changes in the /etc/hosts file and reload dnsmasq data. to install simply chmod +x install.sh sudo ./install.sh