linux adblocking using the hosts file

Talk about internet security, computer security, personal security, your social security number...
Post Reply
morganism
Senior Member
Posts: 116
Joined: Tue Nov 26, 2013 9:44 pm

linux adblocking using the hosts file

Post by morganism » Mon Feb 22, 2016 9:36 pm

pretty nice little setup here, with an application to automate. DNSkong

http://www.accs-net.com/hosts/DNSKong.html

might be a good inclusion here...
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20130410 Firefox/23.0

barbaz
Senior Member
Posts: 9143
Joined: Sat Aug 03, 2013 5:45 pm

Re: linux adblocking using the hosts file

Post by barbaz » Mon Feb 22, 2016 9:59 pm

That project was last updated in 2002 and links to a related project last updated in 2010; and resolving "blocked" domains to 127.0.0.1 is anyway a bad idea, best IP address to use for that is 0.0.0.0.

For Linux users, a local dnsmasq instance (which BTW is by default on *buntu) is a MUCH better solution.
*Always* check the changelogs BEFORE updating that important software!
-

Post Reply