Junky
August 26th, 2003, 18:16
Has anyone had any experience of setting up a caching name server under OpenBSD 3.3 (i386)? Examples...

I want to setup a caching DNS on a machine behind my firewall, to provide faster lookups for my internal clients. I've been trying to find examples on the web with not much success so far.

I've looked through the Bind 9 Administration guide and see the example therein, but it is a little different to the OpenBSD /var/named/etc/named.conf relevant sections.

Having tried this on my own system and visiting a few sites (with the intention of storing addresses in cache), I then disbaled my isp's nameservers. Unfortunately when I tried a www. address not before enetered, it was still resolved(?) - so I am not sure that I am on the right track...

Any help/pointers would be much appreciated.

Thanks
Junky

elmore
August 26th, 2003, 18:51
Moved this post to OpenBSD General

KrUsTy!
August 26th, 2003, 21:22
Try djbdns instead of Bind.

djbdns is easy to setup for this kind of system. Quick and easy setup and it works great.

Although the daemonnews documentation below is mostly for FreeBSD, I don't think that it would be to much different on OpenBSD....

http://ezine.daemonnews.org/200210/ezdjbdns.html

http://cr.yp.to/djbdns.html

{K}

KrUsTy!
August 26th, 2003, 21:27
Here is an OpenBSD and djbdns howto....

http://www.guinix.com/technote/dualdns.html

{K}

KrUsTy!
August 26th, 2003, 21:30
And here is yet another OpenBSD and djbdns article,

http://insecure.ucdavis.edu/Members/adam/openbsd/djbdns-openbsd

Hope this stuff helps...

{K}

Junky
August 27th, 2003, 07:17
Thanks KrUsTy!

I'll check this out over the next couple of days and post my results here.

Cheers
Junky