struct

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
Source
new(name : String, classType : Packet::ClassFlag, ttl : Time::Span, mailExchange : String, preference : UInt16)
Source

Instance methods

classType
Source
classType=(classType : Packet::ClassFlag)
Source
mailExchange
Source
mailExchange=(mailExchange : String)
Source
name
Source
name=(name : String)
Source
preference
Source
preference=(preference : UInt16)
Source
ttl=(ttl : Time::Span)
Source