程序包 | 说明 |
---|---|
io.netty.handler.codec.dns |
DNS codec.
|
io.netty.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.
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultDnsQuestion
The default
DnsQuestion implementation. |
限定符和类型 | 方法和说明 |
---|---|
DnsQuestion |
DnsRecordDecoder.decodeQuestion(ByteBuf in)
Decodes a DNS question into its object representation.
|
DnsQuestion |
DefaultDnsRecordDecoder.decodeQuestion(ByteBuf in) |
限定符和类型 | 方法和说明 |
---|---|
void |
DnsRecordEncoder.encodeQuestion(DnsQuestion question,
ByteBuf out)
Encodes a
DnsQuestion . |
void |
DefaultDnsRecordEncoder.encodeQuestion(DnsQuestion question,
ByteBuf out) |
限定符和类型 | 方法和说明 |
---|---|
DnsQuestion |
DnsNameResolverException.question()
Returns the
DnsQuestion of the DNS query that has failed. |
限定符和类型 | 方法和说明 |
---|---|
DnsQueryLifecycleObserver |
NoopDnsQueryLifecycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question) |
DnsQueryLifecycleObserver |
LoggingDnsQueryLifeCycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question) |
DnsQueryLifecycleObserver |
DnsQueryLifecycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question)
Create a new instance of a
DnsQueryLifecycleObserver . |
DnsQueryLifecycleObserver |
BiDnsQueryLifecycleObserverFactory.newDnsQueryLifecycleObserver(DnsQuestion question) |
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> |
DnsNameResolver.query(DnsQuestion question)
Sends a DNS query with the specified question.
|
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> |
DnsNameResolver.query(DnsQuestion question,
java.lang.Iterable<DnsRecord> additionals)
Sends a DNS query with the specified question with additional records.
|
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> |
DnsNameResolver.query(DnsQuestion question,
Promise<AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress>> promise)
Sends a DNS query with the specified question.
|
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> |
DnsNameResolver.query(java.net.InetSocketAddress nameServerAddr,
DnsQuestion question)
Sends a DNS query with the specified question using the specified name server list.
|
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> |
DnsNameResolver.query(java.net.InetSocketAddress nameServerAddr,
DnsQuestion question,
java.lang.Iterable<DnsRecord> additionals)
Sends a DNS query with the specified question with additional records using the specified name server list.
|
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> |
DnsNameResolver.query(java.net.InetSocketAddress nameServerAddr,
DnsQuestion question,
java.lang.Iterable<DnsRecord> additionals,
Promise<AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress>> promise)
Sends a DNS query with the specified question with additional records using the specified name server list.
|
Future<AddressedEnvelope<DnsResponse,java.net.InetSocketAddress>> |
DnsNameResolver.query(java.net.InetSocketAddress nameServerAddr,
DnsQuestion question,
Promise<AddressedEnvelope<? extends DnsResponse,java.net.InetSocketAddress>> promise)
Sends a DNS query with the specified question using the specified name server list.
|
DnsQueryLifecycleObserver |
DnsQueryLifecycleObserver.queryCNAMEd(DnsQuestion cnameQuestion)
The query returned a CNAME which we may attempt to follow with a new query.
|
DnsQueryLifecycleObserver |
BiDnsQueryLifecycleObserver.queryCNAMEd(DnsQuestion cnameQuestion) |
Future<java.util.List<DnsRecord>> |
DnsNameResolver.resolveAll(DnsQuestion question)
Resolves the
DnsRecord s that are matched by the specified DnsQuestion . |
Future<java.util.List<DnsRecord>> |
DnsNameResolver.resolveAll(DnsQuestion question,
java.lang.Iterable<DnsRecord> additionals)
Resolves the
DnsRecord s that are matched by the specified DnsQuestion . |
Future<java.util.List<DnsRecord>> |
DnsNameResolver.resolveAll(DnsQuestion question,
java.lang.Iterable<DnsRecord> additionals,
Promise<java.util.List<DnsRecord>> promise)
Resolves the
DnsRecord s that are matched by the specified DnsQuestion . |
构造器和说明 |
---|
DnsNameResolverException(java.net.InetSocketAddress remoteAddress,
DnsQuestion question,
java.lang.String message) |
DnsNameResolverException(java.net.InetSocketAddress remoteAddress,
DnsQuestion question,
java.lang.String message,
java.lang.Throwable cause) |
DnsNameResolverTimeoutException(java.net.InetSocketAddress remoteAddress,
DnsQuestion question,
java.lang.String message) |