On 12/12/06, Tim <ignored_mailbox@xxxxxxxxxxxx> wrote:
> Want to share that one with me? I don't do a great deal of web browsing, so I've only bothered to stick a few common annoyances into my DNS server. Some of them are very old, I don't know if they still exist. This is in the named.conf file: ## advert blocking: zone "adimages.com" { type master; file "dead.zone"; }; zone "admonitor.com" { type master; file "dead.zone"; }; zone "adsfac.net" { type master; file "dead.zone"; }; zone "advertising.com" { type master; file "dead.zone"; }; zone "amazingmedia.com" { type master; file "dead.zone"; }; zone "casalemedia.com" { type master; file "dead.zone"; }; zone "clickagents.com" { type master; file "dead.zone"; }; zone "commission-junction.com" { type master; file "dead.zone"; }; zone "doubleclick.net" { type master; file "dead.zone"; }; zone "doubleclick.com" { type master; file "dead.zone"; }; zone "adwords.google.com" { type master; file "dead.zone"; }; zone "googlesyndication.com" { type master; file "dead.zone"; }; zone "fastclick.net" { type master; file "dead.zone"; }; zone "infospace.com" { type master; file "dead.zone"; }; zone "mediaplex.com" { type master; file "dead.zone"; }; zone "msads.com" { type master; file "dead.zone"; }; zone "ads.optusnet.com.au" { type master; file "dead.zone"; }; zone "qksrv.net" { type master; file "dead.zone"; }; zone "ads.x10.com" { type master; file "dead.zone"; }; zone "adserver.yahoo.com" { type master; file "dead.zone"; }; #zone "yimg.com" { type master; file "dead.zone"; }; And this is the dead.zone file: $TTL 86400 @ IN SOA ns.localdomain. hostmaster.mail.localdomain. ( 200 ; serial 28800 ; refresh 7200 ; retry 604800 ; expire 86400 ; ttl ) IN NS ns.localdomain. Yep, that's the whole thing (9 or 10 lines worth, if you want to get rid of a carriage return). Look-ups for any of the above domains, or sub-domains of them, result in an instant "no answer" answer. This one DNS server does the job for all the PCs on the network.
Very cool, thanks. This will be handy. Dotan Cohen http://what-is-what.com/what_is/spyware.html http://datip.com -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list