
You can also use the Hosts file to block or work around spyware and ad networks by "zeroing out" their IP addresses - putting in 0.0.0.0 then the name of the domain you'd like to block. Before the system's online and accessible to anyone using DNS, you can use the Host file instead: Enter the machine's IP address and when you use that domain name, your Mac will go to that device instead.

Let's say you're testing a development server you're about to deploy, and you'd like to use its domain name instead of the machine's specific IP address. There are some practical reasons why you'd want to use the Hosts file instead of just letting DNS do its thing.

It's called the Hosts file, and it can be used to override the default DNS information. The Domain Name System and its associated cache is your Mac's standard way of knowing how to get to where it's going on the Internet, but there's another file that can be very useful. Your Mac builds up a hidden cache file to remember those details later on when you visit the same site again. It needs to reenable because it can not allow installation from this point:ĭoes anyone know what commands are capable to reenable them? Or are there any programs to do it automatically?( It should be there because later I found an automatic program which - then - solved this challenge but now I could not enable it.The first time you type in a web address, your Mac pings a DNS server - typically one automatically configured for you by your Internet Service Provider - to find out the TCP/IP address of the server you're trying to connect to. The challenge is to re-enable them through terminal, otherwise I could not install Photoshop( see below picture ).

I disabled some ports (below) to be able to install Adobe Photoshop/Illustrator applications.
