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.