Blog for hpHosts, and whatever else I feel like writing about ....

Sunday, 1 November 2015

Including the hpHosts ad/tracking servers list in your programs?

I've seen quite a bit of chatter recently regarding which URL it should be when including the ad and tracking servers list in things such as AdAway, uBlock etc. Thought I'd pop a note here. The correct URL is;

http://hosts-file.net/ad_servers.txt

There was an issue previously where ad_servers.asp would redirect to a rather strangely formatted URL when redirecting to this file, which is why I'd not recommend it (aside from anything else, it's likely the sites entire codebase is to be re-written in the near future, which will also see the end of the use of ASP (various reasons for this, most notably, lack of native DNS support etc), where the .txt files will not be changing.

If you're using the individual classification files, you'll also notice you no longer need to include the hphosts-partial file, as the individual classification files are updated every single time a site is added/updated/removed.

If you've got any questions, feel free to email me, or drop by the forums.

No comments: