Hi,

I'm willing to do some stats about dnskeys and so I would like to know
how to get one DNSKEY length.

I tried this:

>>> import dns.resolver
>>> r = dns.resolver.Resolver()
>>> res = r.query('fr.', 'DNSKEY')[0]
>>> len(res.key)
260

I don't understand this result because I know this key length is 2048
bits (so 256*8).

Any idea?

Thanks,
Nicolas

_______________________________________________
dnspython-users mailing list
[email protected]
http://howl.play-bow.org/mailman/listinfo.cgi/dnspython-users

Reply via email to