Package | Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
DatagramDnsResponse
A
DnsResponse implementation for UDP/IP. |
class |
DefaultDnsResponse
The default
DnsResponse implementation. |
Modifier and Type | Method and Description |
---|---|
DnsResponse |
DnsResponse.addRecord(DnsSection section,
DnsRecord record) |
DnsResponse |
DefaultDnsResponse.addRecord(DnsSection section,
DnsRecord record) |
DnsResponse |
DnsResponse.addRecord(DnsSection section,
int index,
DnsRecord record) |
DnsResponse |
DefaultDnsResponse.addRecord(DnsSection section,
int index,
DnsRecord record) |
DnsResponse |
DnsResponse.clear() |
DnsResponse |
DefaultDnsResponse.clear() |
DnsResponse |
DnsResponse.clear(DnsSection section) |
DnsResponse |
DefaultDnsResponse.clear(DnsSection section) |
protected DnsResponse |
DatagramDnsResponseDecoder.decodeResponse(ChannelHandlerContext ctx,
DatagramPacket packet) |
DnsResponse |
DnsResponse.retain() |
DnsResponse |
DefaultDnsResponse.retain() |
DnsResponse |
DnsResponse.retain(int increment) |
DnsResponse |
DefaultDnsResponse.retain(int increment) |
DnsResponse |
DnsResponse.setAuthoritativeAnswer(boolean authoritativeAnswer)
Set to
true if responding server is authoritative for the domain
name in the query message. |
DnsResponse |
DefaultDnsResponse.setAuthoritativeAnswer(boolean authoritativeAnswer) |
DnsResponse |
DnsResponse.setCode(DnsResponseCode code)
Sets the response code for this message.
|
DnsResponse |
DefaultDnsResponse.setCode(DnsResponseCode code) |
DnsResponse |
DnsResponse.setId(int id) |
DnsResponse |
DefaultDnsResponse.setId(int id) |
DnsResponse |
DnsResponse.setOpCode(DnsOpCode opCode) |
DnsResponse |
DefaultDnsResponse.setOpCode(DnsOpCode opCode) |
DnsResponse |
DnsResponse.setRecord(DnsSection section,
DnsRecord record) |
DnsResponse |
DefaultDnsResponse.setRecord(DnsSection section,
DnsRecord record) |
DnsResponse |
DnsResponse.setRecursionAvailable(boolean recursionAvailable)
Set to
true if DNS server can handle recursive queries. |
DnsResponse |
DefaultDnsResponse.setRecursionAvailable(boolean recursionAvailable) |
DnsResponse |
DnsResponse.setRecursionDesired(boolean recursionDesired) |
DnsResponse |
DefaultDnsResponse.setRecursionDesired(boolean recursionDesired) |
DnsResponse |
DnsResponse.setTruncated(boolean truncated)
Set to
true if response has been truncated (usually happens for
responses over 512 bytes). |
DnsResponse |
DefaultDnsResponse.setTruncated(boolean truncated) |
DnsResponse |
DnsResponse.setZ(int z) |
DnsResponse |
DefaultDnsResponse.setZ(int z) |
DnsResponse |
DnsResponse.touch() |
DnsResponse |
DefaultDnsResponse.touch() |
DnsResponse |
DnsResponse.touch(Object hint) |
DnsResponse |
DefaultDnsResponse.touch(Object hint) |
Modifier and Type | Method and Description |
---|---|
protected void |
TcpDnsResponseEncoder.encode(ChannelHandlerContext ctx,
DnsResponse response,
List<Object> out) |
Modifier and Type | Method and Description |
---|---|
protected ByteBuf |
DatagramDnsResponseEncoder.allocateBuffer(ChannelHandlerContext ctx,
AddressedEnvelope<DnsResponse,InetSocketAddress> msg)
Allocate a
ByteBuf which will be used for constructing a datagram packet. |
protected void |
DatagramDnsResponseEncoder.encode(ChannelHandlerContext ctx,
AddressedEnvelope<DnsResponse,InetSocketAddress> in,
List<Object> out) |
Modifier and Type | Method and Description |
---|---|
Future<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
DnsNameResolver.query(DnsQuestion question)
Sends a DNS query with the specified question.
|
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(DnsQuestion question,
Promise<AddressedEnvelope<? extends DnsResponse,InetSocketAddress>> promise)
Sends a DNS query with the specified question.
|
Future<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
DnsNameResolver.query(InetSocketAddress nameServerAddr,
DnsQuestion question)
Sends a DNS query with the specified question using the specified name server list.
|
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<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
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.
|
Modifier and Type | Method and Description |
---|---|
Future<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
DnsNameResolver.query(DnsQuestion question,
Promise<AddressedEnvelope<? extends DnsResponse,InetSocketAddress>> promise)
Sends a DNS query with the specified question.
|
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<AddressedEnvelope<DnsResponse,InetSocketAddress>> |
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.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.