-
- All Superinterfaces:
DnsRecord
- All Known Subinterfaces:
DnsOptEcsRecord
- All Known Implementing Classes:
AbstractDnsOptPseudoRrRecord
,DefaultDnsOptEcsRecord
@UnstableApi public interface DnsOptPseudoRecord extends DnsRecord
An OPT RR record.This is used for Extension Mechanisms for DNS (EDNS(0)).
-
-
Field Summary
-
Fields inherited from interface io.netty5.handler.codec.dns.DnsRecord
CLASS_ANY, CLASS_CHAOS, CLASS_CSNET, CLASS_HESIOD, CLASS_IN, CLASS_NONE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DnsOptPseudoRecord
copy()
Returns a copy of this record object.int
extendedRcode()
Returns theEXTENDED-RCODE
which is encoded intoDnsRecord.timeToLive()
.int
flags()
int
version()
Returns theVERSION
which is encoded intoDnsRecord.timeToLive()
.-
Methods inherited from interface io.netty5.handler.codec.dns.DnsRecord
dnsClass, name, timeToLive, type
-
-
-
-
Method Detail
-
extendedRcode
int extendedRcode()
Returns theEXTENDED-RCODE
which is encoded intoDnsRecord.timeToLive()
.
-
version
int version()
Returns theVERSION
which is encoded intoDnsRecord.timeToLive()
.
-
flags
int flags()
-
copy
DnsOptPseudoRecord copy()
Description copied from interface:DnsRecord
Returns a copy of this record object. Immutable record objects may return themselves.
-
-