Mail Exchanger resource.

Methods
N
Constants
TypeValue = 15
 
Attributes
[R] exchange

The host of this MX.

[R] preference

The preference for this MX.

Class Public methods
new(preference, exchange)

Creates a new MX record with preference, accepting mail at exchange.

# File lib/resolv.rb, line 1902
def initialize(preference, exchange)
  @preference = preference
  @exchange = exchange
end