Zonemaster::Engine::Packet - wrapping object for Zonemaster::LDNS::Packet objects
my $packet = $ns->query('iis.se', 'NS'); my @rrs = $packet->get_records('ns');
Holds the Zonemaster::LDNS::Packet the object is wrapping.
Returns true if the packet represents an existing DNS node lacking any records of the requested type.
Returns true if the packet represents a non-existent DNS node.
Returns true if the packet is a redirect to another set of nameservers.
Returns the Zonemaster::LDNS::RR objects of the requested type in the packet. If the optional @section argument is given, and is a list of answer, authority and additional, only RRs from those sections are returned.
@section
answer
authority
additional
Returns all Zonemaster::LDNS::RR objects for the given name in the packet. If the optional @section argument is given, and is a list of answer, authority and additional, only RRs from those sections are returned.
Returns true if the packet holds any RRs of the specified type for the given name.
Wrapper for the underlying packet method, that replaces udnefined values with the string <unknown>.
<unknown>
Support method for JSON to be able to serialize these objects.
These methods are passed through transparently to the underlying Zonemaster::LDNS::Packet object.
data
rcode
aa
ra
tc
question
print
string
answersize
unique_push
timestamp
type
edns_size
edns_rcode
edns_version
edns_z
edns_data
has_edns
id
querytime
do
opcode
To install Zonemaster::Engine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Zonemaster::Engine
CPAN shell
perl -MCPAN -e shell install Zonemaster::Engine
For more information on module installation, please visit the detailed CPAN module installation guide.