HI thanks for responding.. 

www.unixwiz.net/techtips/bind9-chroot.html 

Gave me the instructions I needed to get going with the BIND install. I
believe OBSD 4.3 will have bind 9.4.2 in the base install however I couldn't
wait. I'm currently running OBSD 4.2 and now have bind 9.4.2 running on it
along with dbv4. I'm about 30% of the way through the project now that the 2
main pieces of software are configured. Now I just need to get the initial
bind DLZ berkeley DB set up properly and write a c program that can make
entries to the BDB and receive input from the command line or an xargs file.
I obtained the list of pornographic sites from urlblacklist.com The DNS
server will then respond to users who query port sites with an A record that
points to a local web server that will serve them a "nono" page and log
their ip. 

I needed  bind 9.4.2 because it could be compiled with the --with-dlz-bdb
option which allows you to store your zone info in berkeley database so you
can act as an authority for hundreds of thousands of sites and get
performance. Bind choked on my original configuration saying it was out of
memory so I turned to BIND DLZ. I'm basically using our DNS as a porn
blocker. Its not foolproof but there are not many fool proof porn blocking
systems and this will stalemate most of the porn traffic and I'll be able to
add crapsites like addaware as well to the zone info and deflect people to a
web server serving a clear image. 

I'm not using a proxy server like dansguardian or squid guard because we are
a small ISP and I don't yet have an array large enough to serve all the
incoming web request in a timely fassion. And I'm not going to use some
commercial product like bluecoat which is nothing but a glorified proxy
server (although it does do bit caching) 

I think the error I hit posted below has to do with the configuration file
location being wrong..

Hi, Michael.

Can you provide details about your system and what you're trying to achieve?

On Sat, Mar 22, 2008 at 12:22 PM, Michael Spratt <[EMAIL PROTECTED]>
wrote:
> Hi, I'm having trouble getting the new version of bind to work..
>  Please ignore that I'm running as root the system will be re-built 
> afterwards...
>
>  I unzipped the bind source to /root/bind-9.4.2  Then coppied the BSD 
> wrapper from  /usr/src/usr.sbin/bind/Makefile.bsd-wrapper to
> /root/bind-9.4.2
>
>  Then from /root/bind-9.4.2 ran #make -f Makefile.bsd-wrapper
>
>  Then tried to run named with the follwing command and got the 
> follwing  results
>
>  # /root/bind-9.4.2/bin/named/named -c /var/named/etc/named.conf -d9 
> -g
>
>    3.
>       22-Mar-2008 12:10:01.950 starting BIND 9.4.2 -c 
> /var/named/etc/named.conf -d9 -g
>    4.
>       22-Mar-2008 12:10:01.953 loading configuration from 
> '/var/named/etc/named.conf'
>    5.
>       22-Mar-2008 12:10:01.953 set maximum stack size to 33554432: success
>    6.
>       22-Mar-2008 12:10:01.953 set maximum data size to 1073741824:
success
>    7.
>       22-Mar-2008 12:10:01.953 set maximum core size to
9223372036854775807:
>  success
>    8.
>       22-Mar-2008 12:10:01.953 set maximum open files to 1024: success
>    9.
>       22-Mar-2008 12:10:01.953 listening on IPv6 interfaces, port 53
>   10.
>       22-Mar-2008 12:10:01.954 clientmgr @0x420d51b8: create
>   11.
>       22-Mar-2008 12:10:01.955 clientmgr @0x420d51b8: createclients
>   12.
>       22-Mar-2008 12:10:01.955 clientmgr @0x420d51b8: create new
>   13.
>       22-Mar-2008 12:10:01.955 client @0x489a6000: create
>   14.
>       22-Mar-2008 12:10:01.955 clientmgr @0x420d51b8: createclients
>   15.
>       22-Mar-2008 12:10:01.955 clientmgr @0x420d51b8: create new
>   16.
>       22-Mar-2008 12:10:01.955 client @0x45b73800: create
>   17.
>       22-Mar-2008 12:10:01.955 listening on IPv4 interface lo0,
127.0.0.1#53
>   18.
>       22-Mar-2008 12:10:01.955 clientmgr @0x420d5318: create
>   19.
>       22-Mar-2008 12:10:01.955 clientmgr @0x420d5318: createclients
>   20.
>       22-Mar-2008 12:10:01.955 clientmgr @0x420d5318: create new
>   21.
>       22-Mar-2008 12:10:01.955 client @0x492b9800: create
>   22.
>       22-Mar-2008 12:10:01.956 clientmgr @0x420d5318: createclients
>   23.
>       22-Mar-2008 12:10:01.956 clientmgr @0x420d5318: create new
>   24.
>       22-Mar-2008 12:10:01.956 client @0x492bb000: create
>   25.
>       22-Mar-2008 12:10:01.956 listening on IPv4 interface bge0,
>  10.18.219.3#53
>   26.
>       22-Mar-2008 12:10:01.956 clientmgr @0x420d5478: create
>   27.
>       22-Mar-2008 12:10:01.956 clientmgr @0x420d5478: createclients
>   28.
>       22-Mar-2008 12:10:01.956 clientmgr @0x420d5478: create new
>   29.
>       22-Mar-2008 12:10:01.956 client @0x492bb800: create
>   30.
>       22-Mar-2008 12:10:01.956 clientmgr @0x420d5478: createclients
>   31.
>       22-Mar-2008 12:10:01.956 clientmgr @0x420d5478: create new
>   32.
>       22-Mar-2008 12:10:01.956 client @0x4ae8f000: create
>   33.
>       22-Mar-2008 12:10:01.957 calling free_rbtdb(.)
>   34.
>       22-Mar-2008 12:10:01.957 done free_rbtdb(.)
>   35.
>       22-Mar-2008 12:10:01.957 could not configure root hints from
>  'standard/root.hint': file not found
>   36.
>       22-Mar-2008 12:10:01.957 load_configuration: file not found
>   37.
>       22-Mar-2008 12:10:01.957 loading configuration: file not found
>   38.
>       22-Mar-2008 12:10:01.957 exiting (due to fatal error)
>
>  Note: If anyone is interested I could wire 5K to anyone who helps me 
> complete the bind setup, dlz compile option, and dlz bdb database 
> setup  along with a simple tool to add and remove dns entries to the 
> database. For  someone more knowledgable than myself it could be a 
> weekend project email me  if your interested.
>
>  -Mike

Reply via email to