blocking Popups with Bind

Barry Margolin barmar at genuity.net
Wed Sep 19 19:46:15 UTC 2001


In article <9oaroc$fie at pub3.rc.vix.com>, Frank <duranicub at gmx.net> 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:

Those are hostnames, not URLs.  http://ad.ca.doubleclick.net/foo/bar.gif is
a URL.

>
>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 ?

Your file is exactly what his one-liner is intended to work with.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list