blocking Popups with Bind

Kevin Darcy kcd at daimlerchrysler.com
Wed Sep 19 21:43:35 UTC 2001


perl -ne 'chomp; printf("zone \"%s\" {\n\ttype master;\n\tfile
\"skeletal.zone.file\";\n};\n", $_);' < url.file >> /etc/named.conf


- Kevin


Frank wrote:

> hehe thx for that !!!
> ok . a proxy is much better sure
> but since i am use one Route for only 2 Clients i would say
> this is the most best solution or ?
>
> > for i in `cat url.list`; do printf "zone \"$i\" {\n\ttype master;\n\tfile
> > \"$i.db\";\n};\n"; done
>
> i have an file hosts with Urls like:
>
> ad.ca.doubleclick.net
> ad.de.doubleclick.net
> ad.dk.doubleclick.net
> ad.doubleclick.net
> ad.es.doubleclick.net
> ad.fr.doubleclick.net
> ad.it.doubleclick.net
> ad.jp.doubleclick.net
> ad.kr.doubleclick.net
>     .....
>
> and the named.conf
>
> do you think it works ?
>
> --
> Frank





More information about the bind-users mailing list