blocking Popups with Bind

Barry Margolin barmar at genuity.net
Wed Sep 19 20:37:56 UTC 2001


In article <9oauba$g1b at pub3.rc.vix.com>, Frank <duranicub at gmx.net> wrote:
>Ok it works but the Ouptut is right so ?

No, the output is wrong.  I suspect you left out some of the backslashes,
so the quoting is all messed up.

Here's another way to write the script.  Put this in a file, make it
executable with chmod, and then execute it.

#!/bin/sh
while read i
do
  cat <<EOF
zone "$i" {
    type master;
    file "$i.db";
};
EOF
done < url.list

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