NAME

Net::LDNS::RR::DNSKEY - Type DNSKEY record

DESCRIPTION

A subclass of Net::LDNS::RR, so it has all the methods of that class available in addition to the ones documented here.

METHODS

flags()

Returns the flag field as a number.

protocol()

Returns the protocol number.

algorithm()

Returns the algorithm number.

keydata()

Returns the cryptographic key in binary form.

ds($hash)

Returns a Net::LDNS::RR::DS record matching this key. The argument must be one of the strings 'sha1', 'sha256', 'sha384' or 'gost'. GOST may not be available, depending on how you ldns library was compiled.