[TriLUG] DNS forwarder on BIND9

Kevin Otte nivex at nivex.net
Sun Mar 11 23:16:55 EDT 2007


In BIND9, given a zone definition:

zone "someother.lan" {
        type forward;
        forwarders { 192.168.10.1; };
};

Every once in awhile, due to a network blip or what have you, the
forward request fails:

kjotte at mystic:~$ host router.someother.lan
Host router.someother.lan not found: 3(NXDOMAIN)

The problem is that BIND9 is caching that negative result rather than
attempting a new lookup when asked.  As such, I get the NXDOMAIN error
long after the network issues have subsided.

How do I get it to not cache negative results?

-- Kevin



More information about the TriLUG mailing list