Scroll to navigation

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

NAME

DNS::LDNS::RData - Rdata field or a dname in an rr

SYNOPSIS

  use DNS::LDNS ':all'
  my rd = new DNS::LDNS::RData(rdf_type, str)
  rd2 = rd->clone
  rdf_type = rd->type
  rd->set_type(rdf_type)
  rd->print(\*FILE)
  str = rd->to_string
  count = rd->label_count
  rd2 = rd->label(pos)
  bool = rd->is_wildcard
  bool = rd->matches_wildcard(wildcard)
  bool = rd->is_subdomain(parent)
  rd2 = rd->left_chop
  status = rd->cat(rd2)
  rd->compare(rd2)
  rd2 = rd->address_reverse
  rd2 = rd->dname_reverse
  rd2 = rd->nsec3_hash_name(name, algorithm, iterations, salt)
  epoch = rd->to_unix_time
( epoch = rd->2native_time_t )
  rr_type = rd->to_rr_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.

2022-07-06 perl v5.32.1