Class: Net::DNS::RR::NULL

Inherits:
Net::DNS::RR show all
Defined in:
lib/Net/DNS/RR/NULL.rb

Overview

NAME

Net::DNS::RR::NULL - DNS NULL resource record

DESCRIPTION

Class for DNS Null (NULL) resource records.

METHODS

rdlength

print "rdlength = ", rr.rdlength, "\n"

Returns the length of the record’s data section.

rdata

rdata = rr.rdata

Returns the record’s data section as binary data.

COPYRIGHT

Copyright © 1997-2002 Michael Fuhr.

Portions Copyright © 2002-2004 Chris Reinhardt.

All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Net::DNS, Net::DNS::Resolver, Net::DNS::Packet, Net::DNS::Header, Net::DNS::Question, Net::DNS::RR, RFC 1035 Section 3.3.10

Constant Summary

Constants inherited from Net::DNS::RR

RRS

Instance Attribute Summary

Attributes inherited from Net::DNS::RR

#name, #rdata, #rdlength, #rrclass, #ttl, #type

Instance Method Summary collapse

Methods inherited from Net::DNS::RR

#_canonicalRdata, #_canonicaldata, _get_subclass, #_name2wire, _name2wire, build_regex, create, #create_rrsort_func, #data, #get_rrsort_func, #init, #init_rrsort_func, #inspect, new_from_data, new_from_hash, new_from_string, #rdatastr, #rr_rdata, #set_rrsort_func

Instance Method Details

#new_from_data(data, offset) ⇒ Object



57
58
# File 'lib/Net/DNS/RR/NULL.rb', line 57

def new_from_data(data, offset)
end

#new_from_hash(values) ⇒ Object



60
61
# File 'lib/Net/DNS/RR/NULL.rb', line 60

def new_from_hash(values)
end

#new_from_string(string) ⇒ Object



63
64
# File 'lib/Net/DNS/RR/NULL.rb', line 63

def new_from_string(string)
end