Skip to content

How to force changes to /etc/hosts to take effect in OSX

If you make changes to your /etc/hosts file and want the changes to take effect immediately without having to reboot issue the following command at in the Terminal

dscacheutil -flushcache