You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Robert edited this page Jan 27, 2017
·
3 revisions
What is a hosts file?
A hosts file, named hosts (with no file extension), is a plain-text file used by all operating
systems to map hostnames to IP addresses.
In most operating systems, the hosts file is preferential to DNS. Therefore if a host name is
resolved by the hosts file, the request never leaves your computer.
Having a smart hosts file goes a long way towards blocking malware, adware, and other irritants.
For example, to nullify requests to some doubleclick.net servers, adding these lines to your hosts
file will do it: