If you&#x27;re on a Mac I&#x27;d suggest Gasmask. It&#x27;s a lightweight freeware that lets you switch between multiple hosts files right from the menubar. I have a productivity hosts file I switch on everytime I want to block social media, another one for development purposes and a standard one to revert too in case I don&#x27;t want any hosts overhead and a clean default file. It&#x27;s extremely useful.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;2ndalpha&#x2F;gasmask" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;2ndalpha&#x2F;gasmask</a>