Mail Exchanger resource.
The host of this MX.
The preference for this MX.
# File lib/resolv.rb, line 1956
def initialize(preference, exchange)
@preference = preference
@exchange = exchange
Creates a new MX record with preference, accepting mail at exchange.
Ruby Core © 1993–2017 Yukihiro MatsumotoLicensed under the Ruby License.Ruby Standard Library © contributorsLicensed under their own licenses.