[dnsdist] [EXT] Re: Unexpected not-caching behavior in 1.5.0-rc3
Remi Gacogne
remi.gacogne at powerdns.com
Fri Jul 3 09:01:01 UTC 2020
On 7/2/20 7:10 PM, Phillip R. Jaenke wrote:
> EDNS0 was the first thing I eliminated, in fact.. the whole thing looks
> literally like this (the lookups changing but you get the concept):
>
> rs=1
> while [ $rs -le 100 ]; do
> for xs in a b c d e f g h i j k l m; do
> dig -t A $xs.root-servers.net @${1} +short +nocookie +noedns
> dig -t AAAA $xs.root-servers.net @${1} +short +nocookie +noedns
> done
> done
>
> So it does exactly what it says on the tin there. Looks up the same 26
> records, 2600 times in total, from the same host (so EDNS shouldn't be
> varying regardless, but, eliminate the knobs.) It's purely a cache test.
That exact test seems to work correctly on master (except rs is not
incremented so you have to stop it manually at some point):
> getPool("localroot"):getCache():printStats()
Entries: 26/1024
Hits: 6102
Misses: 26
Deferred inserts: 0
Deferred lookups: 0
Lookup Collisions: 0
Insert Collisions: 0
TTL Too Shorts: 0
Best regards,
--
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20200703/41067ed3/attachment.sig>
More information about the dnsdist
mailing list