internet filter software freeware

Is there a free software to block the URLs (sites or ads) wildcard, the entire system?
For Windows XP. Therefore, not only as a filter for Firefox, but for Opera, Internet Explorer, Safari, Chrome, etc. are not allowed wildcard list of hosts. I know there are solutions that need to use DNS to third. But I do not trust the third – all URLs that I use, is sent to a DNS server. Thus, the software ad-filter must be local. For example: www.hostsfile.org offers a hosts file that is included in the list of blocks: 127.0.0.1m.de.2mdn.net 127.0.0.1m1 127.0.0.1m1.au.2mdn 127.0.0.1m. uk.2mdn.net 0.2 127.0.0.1m.fr.2mdn.net mdn.net. Net 127.0.0.1m1.emea.2mdn.net 127.0.0.1rmcdn.f.2mdn.net 127.0.0.1m3.2mdn.net 127.0.0.1s0.2mdn.net 127.0.0.1rmcdn.2mdn.net So what I want is to be able block *. 2mdn.net. I want to be able to block ads *. *.* *.* *.* Advertising, etc. Preferably also use? as a wildcard, which would good. All exams must be the whole system. So, my question is to do plugins for specific browsers. Must have the entire system.
All that can make the whole locking system is a firewall based on network / router. There are many free software Linux, but you need to build the server box own safety to get what they want … Some routers have to save where you can add the blocked sites, but you should check your specific model …
Zalando Männerschutz-Filter