Package io.netty.handler.codec.dns
Interface DnsOptPseudoRecord
-
- All Superinterfaces:
DnsRecord
- All Known Subinterfaces:
DnsOptEcsRecord
- All Known Implementing Classes:
AbstractDnsOptPseudoRrRecord,DefaultDnsOptEcsRecord
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.netty.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 intextendedRcode()Returns theEXTENDED-RCODEwhich is encoded intoDnsRecord.timeToLive().intflags()Returns the 16-bitflagsfield which is encoded into the lower 16 bits ofDnsRecord.timeToLive(), as laid out by RFC 6891.intversion()Returns theVERSIONwhich is encoded intoDnsRecord.timeToLive().-
Methods inherited from interface io.netty.handler.codec.dns.DnsRecord
dnsClass, name, timeToLive, type
-
-
-
-
Method Detail
-
extendedRcode
int extendedRcode()
Returns theEXTENDED-RCODEwhich is encoded intoDnsRecord.timeToLive().
-
version
int version()
Returns theVERSIONwhich is encoded intoDnsRecord.timeToLive().
-
flags
int flags()
Returns the 16-bitflagsfield which is encoded into the lower 16 bits ofDnsRecord.timeToLive(), as laid out by RFC 6891.DO, defined by RFC 3225, is the most significant bit of that field, so(flags() & 0x8000) != 0tests forDNSSEC OK. Further bits are assigned by the IANAEDNS Header Flagsregistry; the remaining bits areZ, which senders set to zero and receivers ignore.
-
-