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 | Field and Description |
---|---|
static DnsResponseCode |
DnsResponseCode.BADALG
The 'BADALG' DNS RCODE (21), as defined in RFC2930.
|
static DnsResponseCode |
DnsResponseCode.BADKEY
The 'BADKEY' DNS RCODE (17), as defined in RFC2845.
|
static DnsResponseCode |
DnsResponseCode.BADMODE
The 'BADMODE' DNS RCODE (19), as defined in RFC2930.
|
static DnsResponseCode |
DnsResponseCode.BADNAME
The 'BADNAME' DNS RCODE (20), as defined in RFC2930.
|
static DnsResponseCode |
DnsResponseCode.BADTIME
The 'BADTIME' DNS RCODE (18), as defined in RFC2845.
|
static DnsResponseCode |
DnsResponseCode.BADVERS_OR_BADSIG
|
static DnsResponseCode |
DnsResponseCode.FORMERR
The 'FormErr' DNS RCODE (1), as defined in RFC1035.
|
static DnsResponseCode |
DnsResponseCode.NOERROR
The 'NoError' DNS RCODE (0), as defined in RFC1035.
|
static DnsResponseCode |
DnsResponseCode.NOTAUTH
The 'NotAuth' DNS RCODE (9), as defined in RFC2136.
|
static DnsResponseCode |
DnsResponseCode.NOTIMP
The 'NotImp' DNS RCODE (4), as defined in RFC1035.
|
static DnsResponseCode |
DnsResponseCode.NOTZONE
The 'NotZone' DNS RCODE (10), as defined in RFC2136.
|
static DnsResponseCode |
DnsResponseCode.NXDOMAIN
The 'NXDomain' DNS RCODE (3), as defined in RFC1035.
|
static DnsResponseCode |
DnsResponseCode.NXRRSET
The 'NXRRSet' DNS RCODE (8), as defined in RFC2136.
|
static DnsResponseCode |
DnsResponseCode.REFUSED
The 'Refused' DNS RCODE (5), as defined in RFC1035.
|
static DnsResponseCode |
DnsResponseCode.SERVFAIL
The 'ServFail' DNS RCODE (2), as defined in RFC1035.
|
static DnsResponseCode |
DnsResponseCode.YXDOMAIN
The 'YXDomain' DNS RCODE (6), as defined in RFC2136.
|
static DnsResponseCode |
DnsResponseCode.YXRRSET
The 'YXRRSet' DNS RCODE (7), as defined in RFC2136.
|
Modifier and Type | Method and Description |
---|---|
DnsResponseCode |
DnsResponse.code()
Returns the 4 bit return code.
|
DnsResponseCode |
DefaultDnsResponse.code() |
static DnsResponseCode |
DnsResponseCode.valueOf(int responseCode)
Returns the
DnsResponseCode that corresponds with the given responseCode . |
Modifier and Type | Method and Description |
---|---|
int |
DnsResponseCode.compareTo(DnsResponseCode o) |
DnsResponse |
DnsResponse.setCode(DnsResponseCode code)
Sets the response code for this message.
|
DatagramDnsResponse |
DatagramDnsResponse.setCode(DnsResponseCode code) |
DnsResponse |
DefaultDnsResponse.setCode(DnsResponseCode code) |
Constructor and Description |
---|
DatagramDnsResponse(InetSocketAddress sender,
InetSocketAddress recipient,
int id,
DnsOpCode opCode,
DnsResponseCode responseCode)
Creates a new instance.
|
DefaultDnsResponse(int id,
DnsOpCode opCode,
DnsResponseCode code)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
DnsResponseCode |
DnsErrorCauseException.getCode()
Returns the DNS error-code that caused the
UnknownHostException . |
Modifier and Type | Method and Description |
---|---|
DnsQueryLifecycleObserver |
BiDnsQueryLifecycleObserver.queryNoAnswer(DnsResponseCode code) |
DnsQueryLifecycleObserver |
DnsQueryLifecycleObserver.queryNoAnswer(DnsResponseCode code)
The response to the query didn't provide the expected response code, but it didn't return
NXDOMAIN so we may try to query again. |
Copyright © 2008–2024 The Netty Project. All rights reserved.