struct

DNS::Records::SRV

Inherits DNS::Records < Struct < Value < Object

Constructors

from_io(name : String, protocol_type : ProtocolType, io : IO, buffer : IO::Memory, options : Options = Options.new) : SRV
Source
new(name : String, classType : Packet::ClassFlag, ttl : Time::Span, priority : UInt16, weight : UInt16, port : UInt16, target : String)
Source

Instance methods

classType
Source
classType=(classType : Packet::ClassFlag)
Source
name
Source
name=(name : String)
Source
port
Source
port=(port : UInt16)
Source
priority
Source
priority=(priority : UInt16)
Source
target
Source
target=(target : String)
Source
ttl=(ttl : Time::Span)
Source
weight
Source
weight=(weight : UInt16)
Source