DnsEdnsOptions Class

Represents EDNS(0) options for a DNS query (RFC 6891).

public sealed class DnsEdnsOptions

Constructors

NameDescription
DnsEdnsOptions()

DnsEdnsOptions()

DnsEdnsOptions.cs
public DnsEdnsOptions()

No documentation is available.

Properties

NameDescription
DnssecOkGets or sets a value indicating whether the DNSSEC OK (DO) flag is set, requesting DNSSEC records.
ExtendedRCodeGets or sets the extended RCODE bits (upper 8 bits).
UdpPayloadSizeGets or sets the maximum UDP payload size the client can handle. Default is 4096.
VersionGets or sets the EDNS version. Default is 0.

Gets or sets a value indicating whether the DNSSEC OK (DO) flag is set, requesting DNSSEC records.

public bool DnssecOk { get; set; }

Property value

bool

ExtendedRCode

DnsEdnsOptions.cs

Gets or sets the extended RCODE bits (upper 8 bits).

public byte ExtendedRCode { get; set; }

Property value

byte

UdpPayloadSize

DnsEdnsOptions.cs

Gets or sets the maximum UDP payload size the client can handle. Default is 4096.

public ushort UdpPayloadSize { get; set; }

Property value

ushort

Gets or sets the EDNS version. Default is 0.

public byte Version { get; set; }

Property value

byte