class Dnsruby::RR::RP

Class for DNS Responsible Person (RP) resource records. RFC 1183 Section 2.2

Attributes

mailbox[R]

Returns a domain name that specifies the mailbox for the responsible person.

txtdomain[R]

A domain name that specifies a TXT record containing further information about the responsible person.

Public Instance Methods

from_hash(hash) click to toggle source
# File lib/dnsruby/resource/RP.rb, line 38
def from_hash(hash)
  @mailbox = Name.create(hash[:mailbox])
  @txtdomain = Name.create(hash[:txtdomain])
end
mailbox=(s) click to toggle source
# File lib/dnsruby/resource/RP.rb, line 34
def mailbox=(s)
  @mailbox = Name.create(s)
end
txtdomain=(s) click to toggle source
# File lib/dnsruby/resource/RP.rb, line 30
def txtdomain=(s)
  @txtdomain = Name.create(s)
end