Note: This article was written at the time when Windows 10 was at Technical Preview build phase.
While Domain Name System – or DNS – is mostly used for this function (being a centralized and half-automatically managed name resolution system), the HOSTS file can be used as a local name resolution mechanism, and when used in conjunction with other name resolution mechanisms such as DNS, the HOSTS file takes precedence over them.
You will probably be asked to confirm the action using Administrator account.
Don’t let the command line or Terminal sound intimidating though because it’s not, we’ll make the entire process of editing a Mac hosts file super easy.Updated question: When you have a user that is an I don't see the point of having the same security mechanisms for my 63 year old father who believes everything he sees on the internet, and me who have grown up with computers to such an extent that I'm suprised one is not attached to me.I don't want to spend time bypassing security measures that in practice offers me no security.You’ll find hosts in Mac OS X is stored at /private/etc/hosts but it can also be accessed at the more traditional location of /etc/hosts.That said, if you’re looking to edit hosts, you’ll want to target the file located in /private/etc/ though.The HOSTS file is a text file, one that does not have a file extension. The changed HOSTS file will replace successfully the original, and now, if you ping “kuku” you will get the corresponding IP address.