Uses of Interface
io.netty.handler.codec.dns.DnsResponse
Packages that use DnsResponse
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 DnsResponse in io.netty.handler.codec.dns
Classes in io.netty.handler.codec.dns that implement DnsResponseModifier and TypeClassDescriptionclassADnsResponseimplementation for UDP/IP.classThe defaultDnsResponseimplementation.Subclasses with type arguments of type DnsResponse in io.netty.handler.codec.dnsModifier and TypeClassDescriptionclassfinal classMethods in io.netty.handler.codec.dns that return DnsResponseModifier and TypeMethodDescriptionDefaultDnsResponse.addRecord(DnsSection section, int index, DnsRecord record) DefaultDnsResponse.addRecord(DnsSection section, DnsRecord record) DnsResponse.addRecord(DnsSection section, int index, DnsRecord record) DnsResponse.addRecord(DnsSection section, DnsRecord record) DefaultDnsResponse.clear()DefaultDnsResponse.clear(DnsSection section) DnsResponse.clear()DnsResponse.clear(DnsSection section) protected DnsResponseDatagramDnsResponseDecoder.decodeResponse(ChannelHandlerContext ctx, DatagramPacket packet) DefaultDnsResponse.retain()DefaultDnsResponse.retain(int increment) DnsResponse.retain()DnsResponse.retain(int increment) DefaultDnsResponse.setAuthoritativeAnswer(boolean authoritativeAnswer) DnsResponse.setAuthoritativeAnswer(boolean authoritativeAnswer) Set totrueif responding server is authoritative for the domain name in the query message.DefaultDnsResponse.setCode(DnsResponseCode code) DnsResponse.setCode(DnsResponseCode code) Sets the response code for this message.DefaultDnsResponse.setId(int id) DnsResponse.setId(int id) DefaultDnsResponse.setRecord(DnsSection section, DnsRecord record) DnsResponse.setRecord(DnsSection section, DnsRecord record) DefaultDnsResponse.setRecursionAvailable(boolean recursionAvailable) DnsResponse.setRecursionAvailable(boolean recursionAvailable) Set totrueif DNS server can handle recursive queries.DefaultDnsResponse.setRecursionDesired(boolean recursionDesired) DnsResponse.setRecursionDesired(boolean recursionDesired) DefaultDnsResponse.setTruncated(boolean truncated) DnsResponse.setTruncated(boolean truncated) Set totrueif response has been truncated (usually happens for responses over 512 bytes).DefaultDnsResponse.setZ(int z) DnsResponse.setZ(int z) DefaultDnsResponse.touch()DnsResponse.touch()Methods in io.netty.handler.codec.dns with parameters of type DnsResponseModifier and TypeMethodDescriptionprotected voidTcpDnsResponseEncoder.encode(ChannelHandlerContext ctx, DnsResponse response, List<Object> out) Method parameters in io.netty.handler.codec.dns with type arguments of type DnsResponseModifier and TypeMethodDescriptionprotected ByteBufDatagramDnsResponseEncoder.allocateBuffer(ChannelHandlerContext ctx, AddressedEnvelope<DnsResponse, InetSocketAddress> msg) Allocate aByteBufwhich will be used for constructing a datagram packet.protected voidDatagramDnsResponseEncoder.encode(ChannelHandlerContext ctx, AddressedEnvelope<DnsResponse, InetSocketAddress> in, List<Object> out) -
Uses of DnsResponse in io.netty.resolver.dns
Methods in io.netty.resolver.dns that return types with arguments of type DnsResponseModifier and TypeMethodDescriptionDnsNameResolver.query(DnsQuestion question) Sends a DNS query with the specified question.DnsNameResolver.query(DnsQuestion question, Promise<AddressedEnvelope<? extends DnsResponse, InetSocketAddress>> promise) Sends a DNS query with the specified question.DnsNameResolver.query(DnsQuestion question, Iterable<DnsRecord> additionals) Sends a DNS query with the specified question with additional records.DnsNameResolver.query(InetSocketAddress nameServerAddr, DnsQuestion question) Sends a DNS query with the specified question using the specified name server list.DnsNameResolver.query(InetSocketAddress nameServerAddr, DnsQuestion question, Promise<AddressedEnvelope<? extends DnsResponse, InetSocketAddress>> promise) Sends a DNS query with the specified question using the specified name server list.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.Method parameters in io.netty.resolver.dns with type arguments of type DnsResponseModifier and TypeMethodDescriptionDnsNameResolver.query(DnsQuestion question, Promise<AddressedEnvelope<? extends DnsResponse, InetSocketAddress>> promise) Sends a DNS query with the specified question.DnsNameResolver.query(InetSocketAddress nameServerAddr, DnsQuestion question, Promise<AddressedEnvelope<? extends DnsResponse, InetSocketAddress>> promise) Sends a DNS query with the specified question 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.