Subject: Re: Question on speeding up zone file access
To: None <netbsd-users@netbsd.org>
From: Christoph Kaegi <kgc@zhwin.ch>
List: netbsd-users
Date: 07/21/2004 08:12:04
On 20.07-08:19, Jeremy C. Reed wrote:
> 
> What software are you using for serving this DNS?

It's rbldnsd

> 
> I'd guess that it is already fully cached in memory. Look at top or ps
> output. 

Hm, I didn't think of that. How can I find out,
where all the disk access is coming from?

(A question I wanted to solve for a long time!)

> 
> Does fstat show the zone files being read?

No, the only open files are 
- the chroot directory
- the working directory
- the udp socket
- a local socket

So it looks like the disk accesses must come from something else.

rbldnsd is configured to only write stats every minute, but
no access logs.

> 
> Also, you could try using djbdns or rbldns. See pkgsrc/net/djbdns.

I tried named once but it couldn't manage the zone files. I can't remember
if it just died or if it took insanely long to start up...

Thanks
Chris

-- 
----------------------------------------------------------------------
Christoph Kaegi                                           kgc@zhwin.ch
----------------------------------------------------------------------