Class Net::DNS::RR::MX
In: lib/net/dns/rr/mx.rb
Parent: RR

Mail Exchange Record (MX)

Class for DNS MX resource records.

A MX record specifies the name and relative preference of mail servers (mail exchangers in the DNS jargon) for the zone. The MX RR is used by SMTP (Mail) Agents to route mail for the domain.

Methods

exchange   preference   value  

Public Instance methods

Gets the exchange value.

Returns a String.

Gets the preference value.

Returns an Integer.

Gets the standardized value for this record, represented by the value of preference and exchange.

Returns a String.

[Validate]