blocking Popups with Bind

Frank duranicub at gmx.net
Thu Sep 20 15:56:51 UTC 2001


Aha  i changed this in the named.conf


--
Frank

>
> Frank <duranicub at gmx.net> wrote:
>
> > i solved it .... i specified an output file and it works
> > bevor it was the stoutput who shos this crappy Format ;-)
> > thanks for all your Help !
>
> You could do more with less work if you delegate zones not individual
> hosts,
> Taking one of your definitions as template :
> > zone "ad.ca.doubleclick.net" {
> >     type master;
> >     notify no;
> >     file "localhost.zone";
> > };
> change to :
> zone "doubleclick.net" {
> type master;
> notify no;
> file "localhost.zone";
> };
> In this case you will block all ad-servers from doubleclick.net
> since your nameservers explicitly says "NXDOMAIN" for all queries.
>
> And i do see a point in abusing DNS in this way, one could as an
> example have browsers on platforms where no junkbuster exists.
>
>
>
> > My amed.conf looks now so:
>
> > ------------------------------------------
>
> > # named.conf - configuration for bind
> > #
> > # Generated automatically by bindconf, alchemist et al.
>
> > options {
> >         directory "/var/named/";
> > forward only;
> > forwarders {
> > 194.25.2.129;
> > 145.253.2.11;
> >         };
> > };
> > logging {
> >        category lame-servers { null; };
> >         };
>
> > zone  "0.0.127.in-addr.arpa" {
> >         type master;
> >         file "0.0.127.in-addr.arpa.zone";
> > };
>
>
> > zone  "localhost" {
> >         type master;
> >         file "localhost.zone";
> > };
>
>
> > zone  "0.168.192.in-addr.arpa" {
> >           type master;
> >           file "0.168.192.in-addr.arpa";
> > };
>
>
> > zone  "home" {
> >           type master;
> >           file "home.zone";
> > };
>
>
> > zone "ad.ca.doubleclick.net" {
> >     type master;
> >     notify no;
> >     file "localhost.zone";
> > };
> > zone "ad.de.doubleclick.net" {
> >     type master;
> >     notify no;
> >     file "localhost.zone";
> > };
> > zone "ad.dk.doubleclick.net" {
> >     type master;
> >     notify no;
> >     file "localhost.zone";
> > };
> > zone "ad.doubleclick.net" {
> >     type master;
> >     notify no;
> >     file "localhost.zone";
> > };
> > zone "ad.es.doubleclick.net" {
> >     type master;
> >     notify no;
> >     file "localhost.zone";
> > };
> > zone "ad.fr.doubleclick.net" {
> >     type master;
> >     notify no;
> >     file "localhost.zone";
> > };
>
> > anso on and so on .....
> > ------------------------------------------------------
>
> > Is this right so, any improvements and suggestions ?
>
> > Cheers  Frank
>
>
>
>
> --
> Peter Håkanson
>         IPSec  Sverige      (At the Riverside of Gothenburg, home of
Volvo)
>            Sorry about my e-mail address, but i'm trying to keep spam out.
>    Remove "icke-reklam"and "invalid"  and it works.
>
>



More information about the bind-users mailing list