vendredi 22 janvier 2021

What size of google dns DB?

I heard somewhere that to store all DNS records you'll need something like half of terabyte, - and by this reason we don't store DNS locally, and they're stored on some central servers like google, etc. I never tried to verify that, but today I tried to calculate a rough estimate:

I took some info from few sources:

Ofc for all the domains, the average length will be even more than 10 characters, so I roughly assumed 15 characters to be overall average, and used 370.7 millions as amount of domains, to calculate at least some rough estimate:

370700000 x 15 = 5560500000 bytes (~5.18 gigabytes)

Of course it's rough estimate, and it's only for characters, but in DNS there are also IPs. They can be 7 characters (like 1.1.1.1) and up to 15 characters (255.255.255.255), but for simplicity sake let's just assume that's always max, i.e. 15 characters, so we can simply double the value:

10.36 gigabytes

It doesn't seem to be that much, though I wouldn't like to store that on my phone ofc, and not real cool to store that on PC too.

Anyway, I may be mistaken, so I ask you: do you have any more reliable info of how much DNS, such as Google DNS, use storage for all their records?




Aucun commentaire:

Enregistrer un commentaire