class Dnsruby::RR::RP
Class for DNS
Responsible Person (RP
) resource records. RFC 1183 Section
2.2
Attributes
Returns a domain name that specifies the mailbox for the responsible person.
A domain name that specifies a TXT
record containing further information about the responsible person.
Public Instance Methods
Source
# File lib/dnsruby/resource/RP.rb, line 38 def from_hash(hash) @mailbox = Name.create(hash[:mailbox]) @txtdomain = Name.create(hash[:txtdomain]) end
Source
# File lib/dnsruby/resource/RP.rb, line 34 def mailbox=(s) @mailbox = Name.create(s) end
Source
# File lib/dnsruby/resource/RP.rb, line 30 def txtdomain=(s) @txtdomain = Name.create(s) end