Scroll to navigation

DNS::LDNS::RRList(3) User Contributed Perl Documentation DNS::LDNS::RRList(3)

NAME

DNS::LDNS::RRList - List of rrs

SYNOPSIS

  use DNS::LDNS ':all'
  my l = new DNS::LDNS::RRList
  my l = new DNS::LDNS::RRList(hosts_file => \*FILE)
  my l = new DNS::LDNS::RRList(hosts_filename => fname)
  my l2 = l->clone
  l->to_string
  l->print(\*FILE)
  count = l->rr_count
  rr = l->rr(index)
  l->push(@rr)
  rr = l->pop
  l->push_list(l2)
  l2 = l->pop_list(count)
  l2 = l->pop_rrset
  l->compare(l2)
  l2 = l->subtype_by_rdata(rdata, pos)
  bool = l->is_rrset
  bool = l->contains_rr(rr)
  (status, goodkeys) = l->verify(sig, keys)
  (status, goodkeys) = l->verify_time(sig, keys, checktime)
  (status, goodkeys) = l->verify_notime(sig, keys)
  (status, goodkeys) = l->verify_rrsig_keylist(sig, keys)
  (status, goodkeys) = l->verify_rrsig_keylist_time(sig, keys, checktime)
  (status, goodkeys) = l->verify_rrsig_keylist_notime(sig, keys)
  status = l->verify_rrsig(sig, keys)
  status = l->verify_rrsig_time(sig, keys, checktime)
  rr = l->create_empty_rrsig(key)
  rrlist = l->sign_public(keylist)
  rrlist->canonicalize
  rrlist->sort
  rrlist->sort_nsec3   # the list must contain only nsec3 rrs
  rr = keylist->get_dnskey_for_rrsig(rrsig)
  rr = keylist->get_rrsig_for_name_and_type(name, type)

SEE ALSO

http://www.nlnetlabs.nl/projects/ldns

AUTHOR

Erik Pihl Ostlyngen, <erik.ostlyngen@uninett.no>

COPYRIGHT AND LICENSE

Copyright (C) 2013 by UNINETT Norid AS

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.

2024-11-04 perl v5.40.0