Package io.netty.handler.codec.dns
Interface DnsOptPseudoRecord
- All Superinterfaces:
DnsRecord
- All Known Subinterfaces:
DnsOptEcsRecord
- All Known Implementing Classes:
AbstractDnsOptPseudoRrRecord
,DefaultDnsOptEcsRecord
An OPT RR record.
This is used for Extension Mechanisms for DNS (EDNS(0)).
-
Field Summary
Fields inherited from interface io.netty.handler.codec.dns.DnsRecord
CLASS_ANY, CLASS_CHAOS, CLASS_CSNET, CLASS_HESIOD, CLASS_IN, CLASS_NONE
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns theEXTENDED-RCODE
which is encoded intoDnsRecord.timeToLive()
.int
flags()
int
version()
Returns theVERSION
which is encoded intoDnsRecord.timeToLive()
.Methods inherited from interface io.netty.handler.codec.dns.DnsRecord
dnsClass, name, timeToLive, type
-
Method Details
-
extendedRcode
int extendedRcode()Returns theEXTENDED-RCODE
which is encoded intoDnsRecord.timeToLive()
. -
version
int version()Returns theVERSION
which is encoded intoDnsRecord.timeToLive()
. -
flags
int flags()
-