Forum Moderators: bakedjake
If one could get a DNS server that resolves everything that has ad, ads, banner, banners as part of a hostname it would kill lots of ads. The problem is I haven't really seen a DNS server supporting that. Any suggestions here?
I don't want to run a http proxy because you have to reconfigure browsers to support that.
As far as using a DNS server, any old one (freeware) should do. You just define the hosts (probably by hand) that you want to block as going to 127.0.0.1 and set the DNS server to forward requests. Anything not in the database will resolved via forwarding.
For example what I want to achive is resolve any of the following hostnames with my DNS server:
ads.example.com
foo.ads.example.com
bar.ads.example.net
with the following configuration in my DNS server
*.ads.*
ads.*
or something similar using regex.
I know that I can use BIND but I will have to enumerate all zones like:
ads.example.com
ads.example.net