程序包 | 说明 |
---|---|
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.
|
限定符和类型 | 字段和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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 . |
限定符和类型 | 方法和说明 |
---|---|
int |
DnsResponseCode.compareTo(DnsResponseCode o) |
DnsResponse |
DnsResponse.setCode(DnsResponseCode code)
Sets the response code for this message.
|
DnsResponse |
DefaultDnsResponse.setCode(DnsResponseCode code) |
DatagramDnsResponse |
DatagramDnsResponse.setCode(DnsResponseCode code) |
构造器和说明 |
---|
DatagramDnsResponse(java.net.InetSocketAddress sender,
java.net.InetSocketAddress recipient,
int id,
DnsOpCode opCode,
DnsResponseCode responseCode)
Creates a new instance.
|
DefaultDnsResponse(int id,
DnsOpCode opCode,
DnsResponseCode code)
Creates a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
DnsResponseCode |
DnsErrorCauseException.getCode()
Returns the DNS error-code that caused the
UnknownHostException . |
限定符和类型 | 方法和说明 |
---|---|
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. |
DnsQueryLifecycleObserver |
BiDnsQueryLifecycleObserver.queryNoAnswer(DnsResponseCode code) |