| Package | Description |
|---|---|
| org.xbill.DNS | |
| org.xbill.DNS.tools |
| Modifier and Type | Class and Description |
|---|---|
class |
Update
A helper class for constructing dynamic DNS (DDNS) update messages.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
Message.clone()
Creates a copy of this Message.
|
static Message |
Message.newQuery(Record r)
Creates a new Message with a random Message ID suitable for sending as a query.
|
static Message |
Message.newUpdate(Name zone)
Creates a new Message to contain a dynamic update.
|
default Message |
Resolver.send(Message query)
Sends a message and waits for a response.
|
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Message> |
DohResolver.sendAsync(Message query) |
default CompletionStage<Message> |
Resolver.sendAsync(Message query)
Asynchronously sends a message.
|
CompletionStage<Message> |
SimpleResolver.sendAsync(Message query)
Asynchronously sends a message to a single server, registering a listener to receive a callback
on success or exception.
|
CompletionStage<Message> |
ExtendedResolver.sendAsync(Message query)
Sends a message to multiple servers, and queries are sent multiple times until either a
successful response is received, or it is clear that there is no successful response.
|
| Modifier and Type | Method and Description |
|---|---|
SetResponse |
Cache.addMessage(Message in)
Adds all data from a Message into the Cache.
|
void |
TSIG.apply(Message m,
int error,
TSIGRecord old)
Generates a TSIG record with a specific error for a message and adds it to the message.
|
void |
TSIG.apply(Message m,
int error,
TSIGRecord old,
boolean fullSignature)
Generates a TSIG record with a specific error for a message and adds it to the message.
|
void |
TSIG.apply(Message m,
TSIGRecord old)
Generates a TSIG record for a message and adds it to the message
|
void |
TSIG.apply(Message m,
TSIGRecord old,
boolean fullSignature)
Generates a TSIG record with a specific error for a message and adds it to the message.
|
void |
TSIG.applyStream(Message m,
TSIGRecord old,
boolean fullSignature)
Deprecated.
|
static byte[] |
DNSSEC.digestMessage(SIGRecord sig,
Message msg,
byte[] previous)
Creates a byte array containing the concatenation of the fields of the SIG(0) record and the
message to be signed.
|
TSIGRecord |
TSIG.generate(Message m,
byte[] b,
int error,
TSIGRecord old)
Generates a TSIG record with a specific error for a message that has been rendered.
|
TSIGRecord |
TSIG.generate(Message m,
byte[] b,
int error,
TSIGRecord old,
boolean fullSignature)
Generates a TSIG record with a specific error for a message that has been rendered.
|
void |
ResolverListener.receiveMessage(Object id,
Message m)
Deprecated.
The callback used by an asynchronous resolver
|
default Message |
Resolver.send(Message query)
Sends a message and waits for a response.
|
CompletionStage<Message> |
DohResolver.sendAsync(Message query) |
default CompletionStage<Message> |
Resolver.sendAsync(Message query)
Asynchronously sends a message.
|
CompletionStage<Message> |
SimpleResolver.sendAsync(Message query)
Asynchronously sends a message to a single server, registering a listener to receive a callback
on success or exception.
|
CompletionStage<Message> |
ExtendedResolver.sendAsync(Message query)
Sends a message to multiple servers, and queries are sent multiple times until either a
successful response is received, or it is clear that there is no successful response.
|
default Object |
Resolver.sendAsync(Message query,
ResolverListener listener)
Deprecated.
|
static void |
SIG0.signMessage(Message message,
KEYRecord key,
PrivateKey privkey,
SIGRecord previous)
Sign a message with SIG(0).
|
static void |
SIG0.signMessage(Message message,
KEYRecord key,
PrivateKey privkey,
SIGRecord previous,
Instant timeSigned)
Sign a message with SIG(0).
|
int |
TSIG.StreamVerifier.verify(Message m,
byte[] b)
Verifies a TSIG record on an incoming message that is part of a multiple message response.
|
byte |
TSIG.verify(Message m,
byte[] b,
int length,
TSIGRecord old)
Deprecated.
|
int |
TSIG.verify(Message m,
byte[] b,
TSIGRecord old)
Verifies a TSIG record on an incoming message.
|
int |
TSIG.verify(Message m,
byte[] b,
TSIGRecord old,
boolean fullSignature)
Verifies a TSIG record on an incoming message.
|
static void |
SIG0.verifyMessage(Message message,
byte[] b,
KEYRecord key,
SIGRecord previous)
Verify a message using SIG(0).
|
static void |
SIG0.verifyMessage(Message message,
byte[] b,
KEYRecord key,
SIGRecord previous,
Instant now)
Verify a message using SIG(0).
|
| Modifier and Type | Method and Description |
|---|---|
Message |
update.newMessage() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
jnamed.errorMessage(Message query,
int rcode) |
Copyright © 2021 dnsjava.org. All rights reserved.