Ruby Core Documentation 1.8.7
Resolv
DNS
Resource
IN
ANY
CNAME
DomainName
Generic
HINFO
MINFO
MX
NS
PTR
SOA
TXT
constants
|
attributes
|
methods
Class
Resolv::DNS::Resource::MX
Inheritance
< Resource
Mail
Exchanger resource.
Attributes
Name
Visibility
R/W
Description
exchange
public
R
The host of this
MX
.
preference
public
R
The preference for this
MX
.
Methods
Class
Visibility
Signature
public
new
(preference, exchange)
Class Method Detail
new
(preference, exchange)
Creates a
new
MX
record with
preference
, accepting mail at
exchange
.