[Unbound-users] disable caching for stub zones

Johan Ihrén johani at johani.org
Fri Oct 10 08:48:32 UTC 2014


Hi,

On 02 Oct 2014, at 08:53 , Alexander Dreweke <alexander at dreweke.net> wrote:

> I'm running unbound 1.4.22 (AD) and looking for a way to disable caching
> for all or some stub zones, as these zones are served by nsd (AA) on the
> same machine:

...
> I found that I can evict the cache for the stub zones by running the
> following commands wie cron every minute or so
> 
> unbound-control flush_zone example.net.
> unbound-control flush_zone example.com.
> unbound-control flush_zone 1.10.in-addr.arpa.
> unbound-control flush_zone 2.10.in-addr.arpa.
> 
> Is there a better way to prevent unbound of caching these zones in the
> first place or to reduce the cache time for these zones?

You can of course reduce the TTL as you see fit, but I don't understand what problem you are trying to solve. I.e. I get that the stubs refer to zones served by NSD on the same machine, but how is caching of that a problem?

Regards,

Johan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20141010/70efded4/attachment.bin>


More information about the Unbound-users mailing list