Uses of Interface
io.netty5.handler.codec.dns.DnsRecord
-
Packages that use DnsRecord Package Description io.netty5.handler.codec.dns DNS codec.io.netty5.resolver.dns An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously, which supports the queries of an arbitrary DNS record type as well. -
-
Uses of DnsRecord in io.netty5.handler.codec.dns
Subinterfaces of DnsRecord in io.netty5.handler.codec.dns Modifier and Type Interface Description interface
DnsOptEcsRecord
An ECS record as defined in Client Subnet in DNS Queries.interface
DnsOptPseudoRecord
An OPT RR record.interface
DnsPtrRecord
interface
DnsQuestion
A DNS question.interface
DnsRawRecord
A genericDnsRecord
that contains an undecodedRDATA
.Classes in io.netty5.handler.codec.dns that implement DnsRecord Modifier and Type Class Description class
AbstractDnsOptPseudoRrRecord
An OPT RR record.class
AbstractDnsRecord
A skeletal implementation ofDnsRecord
.class
DefaultDnsOptEcsRecord
DefaultDnsOptEcsRecord
implementation.class
DefaultDnsPtrRecord
class
DefaultDnsQuestion
The defaultDnsQuestion
implementation.class
DefaultDnsRawRecord
The defaultDnsRawRecord
implementation.Methods in io.netty5.handler.codec.dns with type parameters of type DnsRecord Modifier and Type Method Description <T extends DnsRecord>
TDefaultDnsRecordDecoder. decodeRecord(BufferAllocator allocator, Buffer in)
<T extends DnsRecord>
TDnsRecordDecoder. decodeRecord(BufferAllocator allocator, Buffer in)
Decodes a DNS record into its object representation.<T extends DnsRecord>
TAbstractDnsMessage. recordAt(DnsSection section)
<T extends DnsRecord>
TAbstractDnsMessage. recordAt(DnsSection section, int index)
<T extends DnsRecord>
TDnsMessage. recordAt(DnsSection section)
Returns the first record in the specifiedsection
of this DNS message.<T extends DnsRecord>
TDnsMessage. recordAt(DnsSection section, int index)
Returns the record at the specifiedindex
of the specifiedsection
of this DNS message.<T extends DnsRecord>
TAbstractDnsMessage. removeRecord(DnsSection section, int index)
<T extends DnsRecord>
TDnsMessage. removeRecord(DnsSection section, int index)
Removes the record at the specifiedindex
of the specifiedsection
from this DNS message.<T extends DnsRecord>
TAbstractDnsMessage. setRecord(DnsSection section, int index, DnsRecord record)
<T extends DnsRecord>
TDnsMessage. setRecord(DnsSection section, int index, DnsRecord record)
Sets the specifiedrecord
at the specifiedindex
of the specifiedsection
of this DNS message.Methods in io.netty5.handler.codec.dns that return DnsRecord Modifier and Type Method Description DnsRecord
DnsRecord. copy()
Returns a copy of this record object.protected DnsRecord
DefaultDnsRecordDecoder. decodeRecord(String name, DnsRecordType type, int dnsClass, long timeToLive, BufferAllocator allocator, Buffer in, int offset, int length)
Decodes a record from the information decoded so far byDnsRecordDecoder.decodeRecord(BufferAllocator, Buffer)
.Methods in io.netty5.handler.codec.dns with parameters of type DnsRecord Modifier and Type Method Description DnsMessage
AbstractDnsMessage. addRecord(DnsSection section, int index, DnsRecord record)
DnsMessage
AbstractDnsMessage. addRecord(DnsSection section, DnsRecord record)
DatagramDnsQuery
DatagramDnsQuery. addRecord(DnsSection section, int index, DnsRecord record)
DatagramDnsQuery
DatagramDnsQuery. addRecord(DnsSection section, DnsRecord record)
DatagramDnsResponse
DatagramDnsResponse. addRecord(DnsSection section, int index, DnsRecord record)
DatagramDnsResponse
DatagramDnsResponse. addRecord(DnsSection section, DnsRecord record)
DnsQuery
DefaultDnsQuery. addRecord(DnsSection section, int index, DnsRecord record)
DnsQuery
DefaultDnsQuery. addRecord(DnsSection section, DnsRecord record)
DnsResponse
DefaultDnsResponse. addRecord(DnsSection section, int index, DnsRecord record)
DnsResponse
DefaultDnsResponse. addRecord(DnsSection section, DnsRecord record)
DnsMessage
DnsMessage. addRecord(DnsSection section, int index, DnsRecord record)
Adds the specifiedrecord
at the specifiedindex
of the specifiedsection
of this DNS message.DnsMessage
DnsMessage. addRecord(DnsSection section, DnsRecord record)
Adds the specifiedrecord
at the end of the specifiedsection
of this DNS message.DnsQuery
DnsQuery. addRecord(DnsSection section, int index, DnsRecord record)
DnsQuery
DnsQuery. addRecord(DnsSection section, DnsRecord record)
DnsResponse
DnsResponse. addRecord(DnsSection section, int index, DnsRecord record)
DnsResponse
DnsResponse. addRecord(DnsSection section, DnsRecord record)
void
DefaultDnsRecordEncoder. encodeRecord(DnsRecord record, Buffer out)
void
DnsRecordEncoder. encodeRecord(DnsRecord record, Buffer out)
Encodes aDnsRecord
.<T extends DnsRecord>
TAbstractDnsMessage. setRecord(DnsSection section, int index, DnsRecord record)
DnsMessage
AbstractDnsMessage. setRecord(DnsSection section, DnsRecord record)
DatagramDnsQuery
DatagramDnsQuery. setRecord(DnsSection section, DnsRecord record)
DatagramDnsResponse
DatagramDnsResponse. setRecord(DnsSection section, DnsRecord record)
DnsQuery
DefaultDnsQuery. setRecord(DnsSection section, DnsRecord record)
DnsResponse
DefaultDnsResponse. setRecord(DnsSection section, DnsRecord record)
<T extends DnsRecord>
TDnsMessage. setRecord(DnsSection section, int index, DnsRecord record)
Sets the specifiedrecord
at the specifiedindex
of the specifiedsection
of this DNS message.DnsMessage
DnsMessage. setRecord(DnsSection section, DnsRecord record)
Sets the specifiedsection
of this DNS message to the specifiedrecord
, making it a single-record section.DnsQuery
DnsQuery. setRecord(DnsSection section, DnsRecord record)
DnsResponse
DnsResponse. setRecord(DnsSection section, DnsRecord record)
-
Uses of DnsRecord in io.netty5.resolver.dns
Methods in io.netty5.resolver.dns that return types with arguments of type DnsRecord Modifier and Type Method Description Future<List<DnsRecord>>
DnsNameResolver. resolveAll(DnsQuestion question)
Resolves theDnsRecord
s that are matched by the specifiedDnsQuestion
.Future<List<DnsRecord>>
DnsNameResolver. resolveAll(DnsQuestion question, Iterable<DnsRecord> additionals)
Resolves theDnsRecord
s that are matched by the specifiedDnsQuestion
.Future<List<DnsRecord>>
DnsNameResolver. resolveAll(DnsQuestion question, Iterable<DnsRecord> additionals, Promise<List<DnsRecord>> promise)
Resolves theDnsRecord
s that are matched by the specifiedDnsQuestion
.Methods in io.netty5.resolver.dns with parameters of type DnsRecord Modifier and Type Method Description DnsCacheEntry
DefaultDnsCache. cache(String hostname, DnsRecord[] additionals, Throwable cause, EventLoop loop)
DnsCacheEntry
DefaultDnsCache. cache(String hostname, DnsRecord[] additionals, InetAddress address, long originalTtl, EventLoop loop)
DnsCacheEntry
DnsCache. cache(String hostname, DnsRecord[] additionals, Throwable cause, EventLoop loop)
Cache the resolution failure for a given hostname.DnsCacheEntry
DnsCache. cache(String hostname, DnsRecord[] additionals, InetAddress address, long originalTtl, EventLoop loop)
Create a newDnsCacheEntry
and cache a resolved address for a given hostname.DnsCacheEntry
NoopDnsCache. cache(String hostname, DnsRecord[] additional, Throwable cause, EventLoop loop)
DnsCacheEntry
NoopDnsCache. cache(String hostname, DnsRecord[] additional, InetAddress address, long originalTtl, EventLoop loop)
protected void
DnsNameResolver. doResolve(String inetHost, DnsRecord[] additionals, Promise<InetAddress> promise, DnsCache resolveCache)
Hook designed for extensibility so one can pass a different cache on each resolution attempt instead of using the global one.protected void
DnsNameResolver. doResolveAll(String inetHost, DnsRecord[] additionals, Promise<List<InetAddress>> promise, DnsCache resolveCache)
Hook designed for extensibility so one can pass a different cache on each resolution attempt instead of using the global one.List<? extends DnsCacheEntry>
DefaultDnsCache. get(String hostname, DnsRecord[] additionals)
List<? extends DnsCacheEntry>
DnsCache. get(String hostname, DnsRecord[] additionals)
Return the cached entries for the given hostname.List<? extends DnsCacheEntry>
NoopDnsCache. get(String hostname, DnsRecord[] additionals)
Method parameters in io.netty5.resolver.dns with type arguments of type DnsRecord Modifier and Type Method Description Future<AddressedEnvelope<DnsResponse,InetSocketAddress>>
DnsNameResolver. query(DnsQuestion question, Iterable<DnsRecord> additionals)
Sends a DNS query with the specified question with additional records.Future<AddressedEnvelope<DnsResponse,InetSocketAddress>>
DnsNameResolver. query(InetSocketAddress nameServerAddr, DnsQuestion question, Iterable<DnsRecord> additionals)
Sends a DNS query with the specified question with additional records using the specified name server list.Future<AddressedEnvelope<DnsResponse,InetSocketAddress>>
DnsNameResolver. query(InetSocketAddress nameServerAddr, DnsQuestion question, Iterable<DnsRecord> additionals, Promise<AddressedEnvelope<? extends DnsResponse,InetSocketAddress>> promise)
Sends a DNS query with the specified question with additional records using the specified name server list.Future<InetAddress>
DnsNameResolver. resolve(String inetHost, Iterable<DnsRecord> additionals)
Resolves the specified name into an address.Future<InetAddress>
DnsNameResolver. resolve(String inetHost, Iterable<DnsRecord> additionals, Promise<InetAddress> promise)
Resolves the specified name into an address.Future<List<DnsRecord>>
DnsNameResolver. resolveAll(DnsQuestion question, Iterable<DnsRecord> additionals)
Resolves theDnsRecord
s that are matched by the specifiedDnsQuestion
.Future<List<DnsRecord>>
DnsNameResolver. resolveAll(DnsQuestion question, Iterable<DnsRecord> additionals, Promise<List<DnsRecord>> promise)
Resolves theDnsRecord
s that are matched by the specifiedDnsQuestion
.Future<List<DnsRecord>>
DnsNameResolver. resolveAll(DnsQuestion question, Iterable<DnsRecord> additionals, Promise<List<DnsRecord>> promise)
Resolves theDnsRecord
s that are matched by the specifiedDnsQuestion
.Future<List<InetAddress>>
DnsNameResolver. resolveAll(String inetHost, Iterable<DnsRecord> additionals)
Resolves the specified host name and port into a list of address.Future<List<InetAddress>>
DnsNameResolver. resolveAll(String inetHost, Iterable<DnsRecord> additionals, Promise<List<InetAddress>> promise)
Resolves the specified host name and port into a list of address.
-