Calculate the size of a DNS record in the cache

Mik J mikydevel at
Tue Jul 28 22:47:46 UTC 2020

My cache is 100MB and I'd like to know how many records can fit inside.I suppose that it depends on the record: is 7 characters and shorter than
And it probably depends on the type and adress.
So which size would A be ?

I ask my question because I was wondering how many, I generate before fil in the cache of my recursive server
According to the RFC, if my SOA TTL is 86400, the NXDOMAIN entry would remain in the cache for 1 day.
Thank you for sharing your thoughts

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the bind-users mailing list