Maintained by: NLnet Labs

[Unbound-users] How can I check what is in the cache?

W.C.A. Wijngaards
Mon Jun 23 08:56:34 CEST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On 06/23/2014 06:26 AM, Michael Van Der Beek wrote:
> Hi Andreas,
> 
> Thanks! :) Yup that sucks.. same problem with pdns.

If you want to check a specific name, then you can dig +norecurse
example.com.  Unbound will then check if the item is in cache, and if
so return it to you.  If the item is not in cache an NS set is
returned (that would be used to query for the item).  Unbound by
default refuses these queries, but you can allow your own IP addresses
(with access-control 127.0.0.0/8 allow_snoop).

Best regards,
   Wouter

> Regards,
> 
> Michael
> 
> 
> 
> -----Original Message----- From: Unbound-users
> [mailto:unbound-users-bounces at unbound.net] On Behalf Of
> sca at andreasschulze.de Sent: Monday, 23 June, 2014 1:02 PM To:
> unbound-users at unbound.net Subject: Re: [Unbound-users] How can I
> check what is in the cache?
> 
> 
> Michael Van Der Beek:
> 
>> Do you know if it will lock unbound during a dump? Meaning it
>> will stop recursion during a dump?
> 
> yes, as far as I remember unbound will not answer any query while
> dumping the cache. On my big caches it took 10-15 seconds. That
> hurts ...
> 
> Andreas
> 
> _______________________________________________ Unbound-users
> mailing list Unbound-users at unbound.net 
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users 
> _______________________________________________ Unbound-users
> mailing list Unbound-users at unbound.net 
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTp8+dAAoJEJ9vHC1+BF+NlVUP/0Idphpl1AEFW625CrNnHq2G
IvTKQTOYUMkBs1yHGI8DNOq4B04T5kBWsbvg7MlFlpQZXPC3TJhCPeQ5KsDr5tbe
J5sxJUIdGdkAkDy8x/uZ95s+htfikrgc2pc6trFxkuLtA4xUWASMm5M2y+c+Px5M
dZT7yzGC6IaWi//UAgggLiMNayeEVZVq6TDVbmWVxIiKw67V1SgUqo4heOYziQSJ
/sowImeGzM4S7RAEY0PaXVA/FHQp++Gci0tVhkAKaVrUOKa20hgpVsyx/U+Ov3v1
L/cz0m3SQ0JkVMr0xHm5pInf4+WSHTxwH3Zc9LUv87rje03bqmnvqM6cM/2FUPQu
T9Io6Vv89W1whwR4j3pdQv2S8YZnVmoJhxeF0tfvQuRQY0cGnhvXIC9jLefq9Cec
aEO/NrLvF/3IVxmcfamGp5AGUgD2WAChAP2MWQSECB8OpbRGw4dbN2zmCMIp8x9j
LncXelZjSTnCfn7n/AaitETNLslQwjo3U4LCJcWsE/jj1DLHD4PKbPyFYhNWmF7F
MTV2RFY3PfiHfo7CwqlUHFUuCkdXzQ1qxhM8K7Z345TutrdPEOZ8VUQagZ+Jusie
4rGwvuSt6uSZcEG+Ang9oEhnIEcZARaLFK2Q77yGor5x7NxbedpPsmdnUtOMrF1X
mysVhpXcVB7WKfu0b7Uz
=/3tx
-----END PGP SIGNATURE-----