class MDNS::RR::MailExchange

Overview

MX record

Included Modules

Defined in:

dns/resource_records/mail_exchange.cr

Constant Summary

ENDIAN = ["big"]

MX record

KLASS_NAME = [MDNS::RR::MailExchange]

MX record

PARTS = [{type: "basic", name: preference, cls: UInt16, onlyif: nil, verify: nil, value: nil}, {type: "variable_array", name: raw_domain_name, cls: DomainNameComponent, onlyif: nil, verify: nil, length: -> do if name = raw_domain_name[-1]? name.read_next? else true end end, value: nil}] of Nil

MX record

REMAINING = [] of Nil

MX record

Class Method Summary

Instance Method Summary

Macro Summary

Instance methods inherited from module MDNS::DomainNameHelpers

domain_name domain_name, domain_name=(name) domain_name=, original_io : IO::Memory | Nil original_io, original_io=(original_io : IO::Memory | Nil) original_io=, set_io(io : IO::Memory | Nil) set_io

Class Method Detail

def self.bit_fields #

MX record


[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def preference : UInt16 #

def preference=(preference : UInt16) #

def raw_domain_name : Array(DomainNameComponent) #

def raw_domain_name=(raw_domain_name : Array(DomainNameComponent)) #

Macro Detail

macro mdns_domain_name_component(name, onlyif = nil, verify = nil, value = nil) #

MX record


[View source]
macro mdns_domain_name_pointer(name, onlyif = nil, verify = nil, value = nil) #

MX record


[View source]
macro mdns_query(name, onlyif = nil, verify = nil, value = nil) #

MX record


[View source]
macro mdns_rr_hardware_info(name, onlyif = nil, verify = nil, value = nil) #

MX record


[View source]
macro mdns_rr_mail_exchange(name, onlyif = nil, verify = nil, value = nil) #

MX record


[View source]
macro mdns_rr_option(name, onlyif = nil, verify = nil, value = nil) #

MX record


[View source]
macro mdns_rr_service(name, onlyif = nil, verify = nil, value = nil) #

MX record


[View source]