How to edit Mac OS hosts file? Alin Alexandru March 30, 2020 How To You can modify your hosts file in order to change the domain name system (DNS) for a domain on your computer.