Class: DNS::ResourceRecord::IN::NULL
- Defined in:
- lib/faildns/resourcerecord/IN/NULL.rb
Overview
–
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
/ <anything> /
/ /
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
Anything at all may be in the RDATA field so long as it is 65535 octets or less.
NULL records cause no additional section processing. NULL RRs are not allowed in master files. NULLs are used as placeholders in some experimental extensions of the DNS. ++
Instance Attribute Summary collapse
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(raw) ⇒ NULL
constructor
A new instance of NULL.
- #pack ⇒ Object
- #to_s ⇒ Object
Methods inherited from Data
Constructor Details
#initialize(raw) ⇒ NULL
Returns a new instance of NULL.
49 50 51 |
# File 'lib/faildns/resourcerecord/IN/NULL.rb', line 49 def initialize (raw) @raw = raw end |
Instance Attribute Details
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
47 48 49 |
# File 'lib/faildns/resourcerecord/IN/NULL.rb', line 47 def raw @raw end |
Class Method Details
Instance Method Details
#pack ⇒ Object
53 54 55 |
# File 'lib/faildns/resourcerecord/IN/NULL.rb', line 53 def pack @raw end |
#to_s ⇒ Object
57 58 59 |
# File 'lib/faildns/resourcerecord/IN/NULL.rb', line 57 def to_s @raw end |