View source
class MXRecord
package openfl.net.dns
extends ResourceRecord
Available on AIR, Android, HashLink, Linux, Neko, Windows, iOS, macOS
The MXRecord class represents a Domain Name System (DNS) MX resource record containing a mail exchange server address.
MX resource records are returned by a DNSResolver object as a result of a DNS lookup on a domain name. More than one record can be returned by a single lookup if more than one mail exchange is available.
Constructor
new()
Creates an MX resource record.
MX records are obtained from a DNS lookup using the DNSResolver class. Application code should not create MXRecord objects.
Variables
preference:Int
The priority of the mail exchange identified by this record.
Lower values are higher priority.