Package org.minidns.edns
Class Edns
java.lang.Object
org.minidns.edns.Edns
EDNS - Extension Mechanism for DNS.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static enum
The EDNS option code. -
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
final int
8-bit extended return code.static final int
Inform the dns server that the client supports DNSSEC.final int
16-bit flags.final int
final List<EdnsOption>
final int
8-bit version field. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasRecord()
static Edns.Builder
builder()
static Edns
fromRecord
(Record<? extends Data> record) <O extends EdnsOption>
OgetEdnsOption
(Edns.OptionCode optionCode) toString()
-
Field Details
-
FLAG_DNSSEC_OK
public static final int FLAG_DNSSEC_OKInform the dns server that the client supports DNSSEC.- See Also:
-
udpPayloadSize
public final int udpPayloadSize -
extendedRcode
public final int extendedRcode8-bit extended return code. RFC 6891 § 6.1.3 EXTENDED-RCODE -
version
public final int version8-bit version field. RFC 6891 § 6.1.3 VERSION -
flags
public final int flags16-bit flags. RFC 6891 § 6.1.4 -
variablePart
-
dnssecOk
public final boolean dnssecOk
-
-
Constructor Details
-
Edns
-
Edns
-
-
Method Details