The easy way to block ads or any other malware, pornography site and so on is by using the host file. Whenever you open any web site the domain (or FQDN) has to be converted to IP. For that it uses DNS server. But before using DNS it checks if there is an entry in the host file. So we'll put all the domain name of the adserver with wrong IP address so that they can't function. For eg: if we put Google.com as 127.0.0.1, our browser will try to find google.com in the IP address 127.0.0.1 which turns out to be our own computer and there isn't any Google's webserver in our computer. So it won't work. But filling the entry for all the ad servers manually is tedious task. This is where sites like http://hosts-file.net/ comes into play. From this website we can download the host file that contents entry for ads, malware, torrent, pornography or subset of any. So if we want to block only ads lets download the host file for blocking ads by clicking here or visitin