Uses of Interface
io.netty.handler.codec.dns.DnsRecord
Packages that use DnsRecord
Package
Description
DNS codec.
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.netty.handler.codec.dns
Subinterfaces of DnsRecord in io.netty.handler.codec.dnsModifier and TypeInterfaceDescriptioninterfaceAn ECS record as defined in Client Subnet in DNS Queries.interfaceAn OPT RR record.interfaceinterfaceA DNS question.interfaceA genericDnsRecordthat contains an undecodedRDATA.Classes in io.netty.handler.codec.dns that implement DnsRecordModifier and TypeClassDescriptionclassAn OPT RR record.classA skeletal implementation ofDnsRecord.final classDefaultDnsOptEcsRecordimplementation.classclassThe defaultDnsQuestionimplementation.classThe defaultDnsRawRecordimplementation.Methods in io.netty.handler.codec.dns with type parameters of type DnsRecordModifier and TypeMethodDescriptionfinal <T extends DnsRecord>
TDefaultDnsRecordDecoder.decodeRecord(ByteBuf in) <T extends DnsRecord>
TDnsRecordDecoder.decodeRecord(ByteBuf 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 specifiedsectionof this DNS message.<T extends DnsRecord>
TDnsMessage.recordAt(DnsSection section, int index) Returns the record at the specifiedindexof the specifiedsectionof 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 specifiedindexof the specifiedsectionfrom 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 specifiedrecordat the specifiedindexof the specifiedsectionof this DNS message.Methods in io.netty.handler.codec.dns that return DnsRecordModifier and TypeMethodDescriptionprotected DnsRecordDefaultDnsRecordDecoder.decodeRecord(String name, DnsRecordType type, int dnsClass, long timeToLive, ByteBuf in, int offset, int length) Decodes a record from the information decoded so far byDefaultDnsRecordDecoder.decodeRecord(ByteBuf).Methods in io.netty.handler.codec.dns with parameters of type DnsRecordModifier and TypeMethodDescriptionAbstractDnsMessage.addRecord(DnsSection section, int index, DnsRecord record) AbstractDnsMessage.addRecord(DnsSection section, DnsRecord record) DatagramDnsQuery.addRecord(DnsSection section, int index, DnsRecord record) DatagramDnsQuery.addRecord(DnsSection section, DnsRecord record) DatagramDnsResponse.addRecord(DnsSection section, int index, DnsRecord record) DatagramDnsResponse.addRecord(DnsSection section, DnsRecord record) DefaultDnsQuery.addRecord(DnsSection section, int index, DnsRecord record) DefaultDnsQuery.addRecord(DnsSection section, DnsRecord record) DefaultDnsResponse.addRecord(DnsSection section, int index, DnsRecord record) DefaultDnsResponse.addRecord(DnsSection section, DnsRecord record) DnsMessage.addRecord(DnsSection section, int index, DnsRecord record) Adds the specifiedrecordat the specifiedindexof the specifiedsectionof this DNS message.DnsMessage.addRecord(DnsSection section, DnsRecord record) Adds the specifiedrecordat the end of the specifiedsectionof this DNS message.DnsQuery.addRecord(DnsSection section, int index, DnsRecord record) DnsQuery.addRecord(DnsSection section, DnsRecord record) DnsResponse.addRecord(DnsSection section, int index, DnsRecord record) DnsResponse.addRecord(DnsSection section, DnsRecord record) voidDefaultDnsRecordEncoder.encodeRecord(DnsRecord record, ByteBuf out) voidDnsRecordEncoder.encodeRecord(DnsRecord record, ByteBuf out) Encodes aDnsRecord.<T extends DnsRecord>
TAbstractDnsMessage.setRecord(DnsSection section, int index, DnsRecord record) AbstractDnsMessage.setRecord(DnsSection section, DnsRecord record) DatagramDnsQuery.setRecord(DnsSection section, DnsRecord record) DatagramDnsResponse.setRecord(DnsSection section, DnsRecord record) DefaultDnsQuery.setRecord(DnsSection section, DnsRecord record) DefaultDnsResponse.setRecord(DnsSection section, DnsRecord record) <T extends DnsRecord>
TDnsMessage.setRecord(DnsSection section, int index, DnsRecord record) Sets the specifiedrecordat the specifiedindexof the specifiedsectionof this DNS message.DnsMessage.setRecord(DnsSection section, DnsRecord record) Sets the specifiedsectionof this DNS message to the specifiedrecord, making it a single-record section.DnsQuery.setRecord(DnsSection section, DnsRecord record) DnsResponse.setRecord(DnsSection section, DnsRecord record) -
Uses of DnsRecord in io.netty.resolver.dns
Methods in io.netty.resolver.dns that return types with arguments of type DnsRecordModifier and TypeMethodDescriptionDnsNameResolver.resolveAll(DnsQuestion question) Resolves theDnsRecords that are matched by the specifiedDnsQuestion.DnsNameResolver.resolveAll(DnsQuestion question, Iterable<DnsRecord> additionals) Resolves theDnsRecords that are matched by the specifiedDnsQuestion.DnsNameResolver.resolveAll(DnsQuestion question, Iterable<DnsRecord> additionals, Promise<List<DnsRecord>> promise) Resolves theDnsRecords that are matched by the specifiedDnsQuestion.Methods in io.netty.resolver.dns with parameters of type DnsRecordModifier and TypeMethodDescriptionDefaultDnsCache.cache(String hostname, DnsRecord[] additionals, InetAddress address, long originalTtl, EventLoop loop) Cache the resolution failure for a given hostname.DnsCache.cache(String hostname, DnsRecord[] additionals, InetAddress address, long originalTtl, EventLoop loop) Create a newDnsCacheEntryand cache a resolved address for a given hostname.NoopDnsCache.cache(String hostname, DnsRecord[] additional, InetAddress address, long originalTtl, EventLoop loop) protected voidDnsNameResolver.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 voidDnsNameResolver.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> List<? extends DnsCacheEntry> Return the cached entries for the given hostname.List<? extends DnsCacheEntry> Method parameters in io.netty.resolver.dns with type arguments of type DnsRecordModifier and TypeMethodDescriptionDnsNameResolver.query(DnsQuestion question, Iterable<DnsRecord> additionals) Sends a DNS query with the specified question with additional records.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.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.final Future<InetAddress> Resolves the specified name into an address.final Future<InetAddress> DnsNameResolver.resolve(String inetHost, Iterable<DnsRecord> additionals, Promise<InetAddress> promise) Resolves the specified name into an address.DnsNameResolver.resolveAll(DnsQuestion question, Iterable<DnsRecord> additionals) Resolves theDnsRecords that are matched by the specifiedDnsQuestion.DnsNameResolver.resolveAll(DnsQuestion question, Iterable<DnsRecord> additionals, Promise<List<DnsRecord>> promise) Resolves theDnsRecords that are matched by the specifiedDnsQuestion.DnsNameResolver.resolveAll(DnsQuestion question, Iterable<DnsRecord> additionals, Promise<List<DnsRecord>> promise) Resolves theDnsRecords that are matched by the specifiedDnsQuestion.final Future<List<InetAddress>> DnsNameResolver.resolveAll(String inetHost, Iterable<DnsRecord> additionals) Resolves the specified host name and port into a list of address.final 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.