Net::L...:DNSKEY(3pm)
π¦ NAME π¦
Net::LDNS::RR::DNSKEY β it's the Type DNSKEY record, bestie π
β¨ DESCRIPTION β¨
Okay so picture this: Net::LDNS::RR::DNSKEY is a subclass of Net::LDNS::RR π«Ά which means it comes with every single method that class has, on top of the ones we're about to spill about down here. So like, you're not losing anything, you're just gaining extra β¨ DNSKEY-specific β¨ powers. Iconic behaviour honestly π
π₯ METHODS π₯
flags()
Returns the flag field as a number π’
protocol()
Returns the protocol number, periodt π
algorithm()
Returns the algorithm number π§
keydata()
Returns the cryptographic key in binary form β yes, raw bytes, no cap π
ds($hash)
Returns a Net::LDNS::RR::DS record that matches this key π
The argument $hash has to be one of these exact strings:
'sha1''sha256''sha384''gost'
β οΈ Heads up girly: gost may not be available, and that's lowkey out of your hands β it depends on how your ldns library was compiled π
keysize()
The size of the key stored in the record π and the deets depend on which kind of key you're dealing with:
- For RSA variants, it's the length in bits of the prime number π’
- For DSA variants, it's the key's
"T"value (seeRFC2536) π β iykyk - For DH, it's the value of the
"prime length"field β and honestly it's probably useless, since DH keys can't have signature records π not me pointing that out but fr fr
Later bestie!! π This page is from perl v5.42.3, dated 2026-08-19, and it's the manual for Net::LDNS::RR::DNSKEY(3pm) β go slay some DNSKEY records, you've totally got this ππ
π¦ where this page comes from
- ubuntu stonking: libnet-ldns-perl 0.75-7build7 Β· 2-clause-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms