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
Sourcenew(name : String, classType : Packet::ClassFlag, ttl : Time::Span, priority : UInt16, weight : UInt16, port : UInt16, target : String)
SourceInstance methods
classType
SourceclassType=(classType : Packet::ClassFlag)
Sourcename
Sourcename=(name : String)
Sourceport
Sourceport=(port : UInt16)
Sourcepriority
Sourcepriority=(priority : UInt16)
Sourcetarget
Sourcetarget=(target : String)
Sourcettl
Sourcettl=(ttl : Time::Span)
Sourceweight
Sourceweight=(weight : UInt16)
Source