Class: Net::DNS::RR::NS
- Inherits:
-
Net::DNS::RR
- Object
- Net::DNS::RR
- Net::DNS::RR::NS
- Defined in:
- lib/net/dns/rr/ns.rb
Overview
Name Server Record (NS)
Class for DNS NS resource records.
Constant Summary
Constants inherited from Net::DNS::RR
Constants included from Names
Instance Method Summary collapse
-
#nsdname ⇒ Object
Gets the name server value.
-
#value ⇒ Object
Gets the standardized value for this record, represented by the value of
nsdname
.
Methods inherited from Net::DNS::RR
#cls, #comp_data, #data, #initialize, #inspect, #name, parse, parse_packet, #rdata, #to_a, #to_s, #ttl, #type
Methods included from Names
#dn_comp, #dn_expand, #names_array, #pack_name, #valid?
Constructor Details
This class inherits a constructor from Net::DNS::RR
Instance Method Details
#nsdname ⇒ Object
Gets the name server value.
Returns a String.
15 16 17 |
# File 'lib/net/dns/rr/ns.rb', line 15 def nsdname @nsdname end |
#value ⇒ Object
Gets the standardized value for this record, represented by the value of nsdname
.
Returns a String.
23 24 25 |
# File 'lib/net/dns/rr/ns.rb', line 23 def value nsdname.to_s end |