cache-only server

Kevin Darcy kcd at daimlerchrysler.com
Mon Nov 27 17:10:05 UTC 2000


apple at noemail.com wrote:

> Hi
>
> I just implemented the cache-only server, but I still have a few
> questions
>
> I use bind-9-01
>
> #1 I did kill -INT named-pid, and checked the /usr/tmp and /var/tmp,
> but I still dont see the database named_dump.db, where can I find it?

Under BIND 8, you'd find the named_dump.db in named's working directory,
not /var/tmp or /usr/tmp.

But I don't think database dumps are yet implemented in BIND 9.

> #2 I find my cache-only server is not responding quick enough, is it
> because it will take time to build up the database?

Sure, once a name is cached then the nameserver will answer it much more
quickly. But how slow is your nameserver responding? There might be some
sort of configuration problem which is causing it to answer slowly. Look
closely at your logs for any problems.

> will it help if I add the primary and secondary dns on the
> /etc/resolve file? so it will not just go the the root server to query
> the information?

named never looks at /etc/resolv.conf. Also, named won't go to the root
servers for any queries if it already has referral information cached for
the domain in question. So you shouldn't see root server queries very
often.


- Kevin





More information about the bind-users mailing list