DNS::RR::Record
Inherits Reference < Object
Constructors
from_io(io : IO, format : IO::ByteFormat) : self
Sourcenew(name : DNS::Name = Name.new, record_type : DNS::RecordType = RecordType::AAAA, record_class : DNS::RecordClass = RecordClass::Internet, ttl : UInt32 = 0_u32, data : DNS::IPv4Address | DNS::IPv6Address | DNS::Name | DNS::RR::HINFO | DNS::RR::MX | DNS::RR::SOA | Slice(UInt8) = Bytes.new(0))
SourceInstance methods
data
Sourcedata=(data : Data)
Sourcename
Sourcename=(name : Name)
Sourcerecord_class
Sourcerecord_class=(record_class : RecordClass)
Sourcerecord_type
Sourcerecord_type=(record_type : RecordType)
Sourceto_io(io : IO, format : IO::ByteFormat)
Sourcettl
Sourcettl=(ttl : UInt32)
Source