struct

DNS::Records::OPT

Inherits DNS::Records < Struct < Value < Object

Constructors

from_io(name : String, protocol_type : ProtocolType, io : IO, buffer : IO::Memory, options : Options = Options.new, maximum_length : UInt16 = 512_u16) : OPT
Source
new(name : String, udpPayloadSize : UInt16, higherBitsExtendedRcode : UInt8, edns0Version : UInt8, z : UInt16)
Source

Instance methods

edns0Version
Source
edns0Version=(edns0Version : UInt8)
Source
higherBitsExtendedRcode
Source
higherBitsExtendedRcode=(higherBitsExtendedRcode : UInt8)
Source
name
Source
name=(name : String)
Source
udpPayloadSize
Source
udpPayloadSize=(udpPayloadSize : UInt16)
Source
z=(z : UInt16)
Source