DNS::Records::MX
Inherits DNS::Records < Struct < Value < Object
Constructors
from_io(name : String, protocol_type : ProtocolType, io : IO, buffer : IO::Memory, options : Options = Options.new) : MX
Sourcenew(name : String, classType : Packet::ClassFlag, ttl : Time::Span, mailExchange : String, preference : UInt16)
SourceInstance methods
classType
SourceclassType=(classType : Packet::ClassFlag)
SourcemailExchange
SourcemailExchange=(mailExchange : String)
Sourcename
Sourcename=(name : String)
Sourcepreference
Sourcepreference=(preference : UInt16)
Sourcettl
Sourcettl=(ttl : Time::Span)
Source