| Package | Description | 
|---|---|
| io.netty.handler.codec.dns | DNS codec information for writing to and reading from a DNS server. | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<DnsQuestion> | DnsMessage. questions()Returns a list of all the questions in this message. | 
| Modifier and Type | Method and Description | 
|---|---|
| DnsMessage | DnsMessage. addQuestion(DnsQuestion question)Adds a question to this message. | 
| DnsResponse | DnsResponse. addQuestion(DnsQuestion question) | 
| DnsQuery | DnsQuery. addQuestion(DnsQuestion question) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | DnsNameResolver. clearCache(DnsQuestion question)Clears the DNS resource record of the specified DNS question from the cache of this resolver. | 
| Future<DnsResponse> | DnsNameResolver. query(DnsQuestion question)Sends a DNS query with the specified question. | 
| Future<DnsResponse> | DnsNameResolver. query(DnsQuestion question,
     Promise<DnsResponse> promise)Sends a DNS query with the specified question. | 
| Future<DnsResponse> | DnsNameResolver. query(Iterable<InetSocketAddress> nameServerAddresses,
     DnsQuestion question)Sends a DNS query with the specified question using the specified name server list. | 
| Future<DnsResponse> | DnsNameResolver. query(Iterable<InetSocketAddress> nameServerAddresses,
     DnsQuestion question,
     Promise<DnsResponse> promise)Sends a DNS query with the specified question using the specified name server list. | 
Copyright © 2008–2015 The Netty Project. All rights reserved.