Info about host file at MacOS Clear DNS cache sudo killall -HUP mDNSResponder MacOS 10.5 and 10.6 sudo dscacheutil -flushcache Links Mojave Hosts File /etc/hosts not working on macOS 10.13