Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Calculate the size of a DNS record in the cache

13 views
Skip to first unread message

Mik J

unread,
Jul 28, 2020, 6:48:04 PM7/28/20
to bind-...@lists.isc.org
Hello,

My cache is 100MB and I'd like to know how many records can fit inside.
I suppose that it depends on the record: isc.org is 7 characters and shorter than http://www.example.com

And it probably depends on the type and adress.

So which size would isc.org A 1.1.1.1 be ?

I ask my question because I was wondering how many nxdomainattack000000001.example.com, nxdomainattack000000002.example.com...can I generate before fil in the cache of my recursive server

According to the RFC, if my example.com SOA TTL is 86400, the NXDOMAIN entry would remain in the cache for 1 day.

Thank you for sharing your thoughts


0 new messages