Version: 1:9.5.1.dfsg.P1-2

Hi,

Just suffered the same problem!  It sounds pretty nasty if you run a
busy nameserver or just set a low cache size to restrict memory usage.
I had max-cache-size 1m; which I think triggers the problem sooner.

My best guess is that the cache becomes exhausted after several
hours/days of running;  old entries are purged from the cache, but
unfortunately this includes the root hints.  Is that a bug or
misconfiguration on my part?  It causes recursive queries to fail,
although answers are still given from authoritative zones.

My configuration is a little complicated:  split-horizon with
internal/external views, but only the internal view allows recursion and
that's where I had problems.

Relevant global options:

options {
        // ...

        max-cache-size 1m;
        recursive-clients 256;
};

Internal view options:

view "internal" {
    match-clients { 192.168.0.0/16; 127.0.0.1/16; };
    recursion yes;
    notify no;

    // prime the server with knowledge of the root servers
    zone "." {
            type hint;
            file "/etc/bind/db.root";
    };

    // ...
};

My root hints file was the 2008020400-serial that shipped with the
Debian package, but I'll be updating that now.

My workaround will be to set max-cache-size unlimited; for the time being.

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to