Uses of Class
org.xbill.DNS.Message
Packages that use Message
Package
Description
-
Uses of Message in org.xbill.DNS
Subclasses of Message in org.xbill.DNSModifier and TypeClassDescriptionclassA helper class for constructing dynamic DNS (DDNS) update messages.Fields in org.xbill.DNS declared as MessageModifier and TypeFieldDescriptionprivate final MessageExtendedResolver.Resolution.queryprivate final MessageNioTcpClient.Transaction.queryMethods in org.xbill.DNS that return MessageModifier and TypeMethodDescriptionMessage.clone()Creates a copy of this Message.static MessageCreates a new Message with a random Message ID suitable for sending as a query.static MessageCreates a new Message to contain a dynamic update.Creates a normalized copy of this message by following xNAME chains, synthesizing CNAMEs from DNAMEs if necessary, and removing illegal RRsets fromSection.AUTHORITYandSection.ADDITIONAL.Creates a normalized copy of this message by following xNAME chains, synthesizing CNAMEs from DNAMEs if necessary, and removing illegal RRsets fromSection.AUTHORITYandSection.ADDITIONAL.private MessageSimpleResolver.parseMessage(byte[] b) private MessageZoneTransferIn.parseMessage(byte[] b) protected MessageDohResolverCommon.prepareQuery(Message query) default MessageSends a message and waits for a response.private MessageMethods in org.xbill.DNS that return types with arguments of type MessageModifier and TypeMethodDescriptionprivate CompletionStage<Message> private CompletionStage<Message> 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.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 CompletionStage<Message> Asynchronously sends a message using the defaultForkJoinPool.commonPool().default CompletionStage<Message> Asynchronously sends a message.Asynchronously sends a message to a single server.(package private) CompletableFuture<Message> Asynchronously sends a message to a single server.private CompletionStage<Message> ExtendedResolver.Resolution.startAsync(Executor executorService) Methods in org.xbill.DNS with parameters of type MessageModifier and TypeMethodDescriptionCache.addMessage(Message in) Adds all data from a Message into the Cache.private voidTSIG.StreamVerifier.addUnsignedMessageToMac(Message m, byte[] messageBytes, Mac hmac) voidTSIG.apply(Message m, int error, TSIGRecord old) Generates a TSIG record with a specific error for a message and adds it to the message.voidTSIG.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.voidTSIG.apply(Message m, TSIGRecord old) Generates a TSIG record for a message and adds it to the messagevoidTSIG.apply(Message m, TSIGRecord old, boolean fullSignature) Generates a TSIG record with a specific error for a message and adds it to the message.private voidvoidTSIG.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.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.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.private TSIGRecordTSIG.generate(Message m, byte[] b, int error, TSIGRecord old, boolean fullSignature, Mac hmac) Generates a TSIG record with a specific error for a message that has been rendered.voidGenerate TSIG a signature for use of the message in a stream.(package private) voidprivate CompletionStage<Message> private voidMessage.logOrThrow(boolean throwOnIrrelevantRecord, String format, RRset rrset, Name sname, Message query) private intSimpleResolver.maxUDPSize(Message query) Creates a normalized copy of this message by following xNAME chains, synthesizing CNAMEs from DNAMEs if necessary, and removing illegal RRsets fromSection.AUTHORITYandSection.ADDITIONAL.Creates a normalized copy of this message by following xNAME chains, synthesizing CNAMEs from DNAMEs if necessary, and removing illegal RRsets fromSection.AUTHORITYandSection.ADDITIONAL.protected MessageDohResolverCommon.prepareQuery(Message query) voidResolverListener.receiveMessage(Object id, Message m) Deprecated.The callback used by an asynchronous resolverdefault MessageSends a message and waits for a response.CompletableFuture<byte[]> DefaultIoClient.sendAndReceiveTcp(InetSocketAddress local, InetSocketAddress remote, Message query, byte[] data, Duration timeout) CompletableFuture<byte[]> NioTcpClient.sendAndReceiveTcp(InetSocketAddress local, InetSocketAddress remote, Message query, byte[] data, Duration timeout) CompletableFuture<byte[]> DefaultIoClient.sendAndReceiveUdp(InetSocketAddress local, InetSocketAddress remote, Message query, byte[] data, int max, Duration timeout) CompletableFuture<byte[]> NioUdpClient.sendAndReceiveUdp(InetSocketAddress local, InetSocketAddress remote, Message query, byte[] data, int max, Duration timeout) 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.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 CompletionStage<Message> Asynchronously sends a message using the defaultForkJoinPool.commonPool().default CompletionStage<Message> Asynchronously sends a message.default ObjectResolver.sendAsync(Message query, ResolverListener listener) Deprecated.Asynchronously sends a message to a single server.(package private) CompletableFuture<Message> Asynchronously sends a message to a single server.private Message(package private) static SIGRecordDNSSEC.signMessage(Message message, SIGRecord previous, KEYRecord key, PrivateKey privkey, Instant inception, Instant expiration) static voidSIG0.signMessage(Message message, KEYRecord key, PrivateKey privkey, SIGRecord previous) Sign a message with SIG(0).static voidSIG0.signMessage(Message message, KEYRecord key, PrivateKey privkey, SIGRecord previous, Instant timeSigned) Sign a message with SIG(0).protected final <T> CompletableFuture<T> DohResolverCommon.timeoutFailedFuture(Message query, String message, Throwable inner) protected final <T> CompletableFuture<T> DohResolverCommon.timeoutFailedFuture(Message query, Throwable inner) intVerifies a TSIG record on an incoming message that is part of a multiple message response.intVerifies a TSIG record on an incoming message that is part of a multiple message response.byteTSIG.verify(Message m, byte[] b, int length, TSIGRecord old) Deprecated.intTSIG.verify(Message m, byte[] messageBytes, TSIGRecord requestTSIG) Verifies a TSIG record on an incoming message.intTSIG.verify(Message m, byte[] messageBytes, TSIGRecord requestTSIG, boolean fullSignature) Verifies a TSIG record on an incoming message.private intTSIG.verify(Message m, byte[] messageBytes, TSIGRecord requestTSIG, boolean fullSignature, Mac hmac) Verifies a TSIG record on an incoming message.(package private) static voidDNSSEC.verifyMessage(Message message, byte[] bytes, SIGRecord sig, SIGRecord previous, KEYRecord key, Instant now) static voidSIG0.verifyMessage(Message message, byte[] b, KEYRecord key, SIGRecord previous) Verify a message using SIG(0).static voidSIG0.verifyMessage(Message message, byte[] b, KEYRecord key, SIGRecord previous, Instant now) Verify a message using SIG(0).protected voidDohResolverCommon.verifyTSIG(Message query, Message response, byte[] b, TSIG tsig) private voidSimpleResolver.verifyTSIG(Message query, Message response, byte[] b) Constructors in org.xbill.DNS with parameters of type Message -
Uses of Message in org.xbill.DNS.dnssec
Methods in org.xbill.DNS.dnssec that return MessageModifier and TypeMethodDescriptionSMessage.getMessage()Gets this message as a standard DNSJAVA message.Methods in org.xbill.DNS.dnssec that return types with arguments of type MessageModifier and TypeMethodDescriptionAsynchronously sends a message and validates the response with DNSSEC before returning it.Methods in org.xbill.DNS.dnssec with parameters of type MessageModifier and TypeMethodDescriptionprivate voidValidatingResolver.addValidationReasonTxtRecord(Message m, String reason) private voidValidatingResolver.applyEdeToOpt(SMessage validated, Message m) static ResponseClassificationValUtils.classifyResponse(Message request, SMessage m) Given a response, classify ANSWER responses into a subtype.private KeyEntryValidatingResolver.dsResponseToKE(SMessage response, Message request, KeyEntry keyRrset) Given a DS response, the DS request, and the current key rrset, validate the DS response, returning a KeyEntry.private KeyEntryValidatingResolver.dsResponseToKeForNodata(SMessage response, Message request, KeyEntry keyRrset) Given a DS response, the DS request, and the current key rrset, validate the DS response for the NODATA case, returning a KeyEntry.private static SMessageValidatingResolver.errorMessage(Message request, int rcode) Creates a response message with the given return code.ValUtils.nsecProvesNodataDsReply(Message request, SMessage response, KeyEntry keyRrset, Instant date) Check DS absence.private CompletionStage<Void> ValidatingResolver.processDNSKEYResponse(Message request, SMessage response, FindKeyState state, Executor executor) private CompletionStage<Void> ValidatingResolver.processDSResponse(Message request, SMessage response, FindKeyState state, Executor executor) This handles the responses to locally generated DS queries.private SMessageValidatingResolver.processFinishedState(Message request, SMessage response) Apply any final massaging to a response before returning up the pipeline.private CompletionStage<SMessage> ValidatingResolver.processValidate(Message request, SMessage response, Executor executor) Asynchronously sends a message and validates the response with DNSSEC before returning it.private CompletionStage<SMessage> ValidatingResolver.sendRequest(Message request, Executor executor) private CompletionStage<Void> ValidatingResolver.validateNameErrorResponse(Message request, SMessage response, Nsec3ValidationState nsec3State, Executor executor) Validate a NAMEERROR signed response -- a response that has a NXDOMAIN Rcode.private CompletionStage<Void> ValidatingResolver.validateNodataResponse(Message request, SMessage response, Nsec3ValidationState nsec3State, Executor executor) Validate a NOERROR/NODATA signed response -- a response that has a NOERROR Rcode but no ANSWER section RRsets.private CompletionStage<Void> ValidatingResolver.validatePositiveResponse(Message request, SMessage response, Nsec3ValidationState nsec3State, Executor executor) Given a "postive" response -- a response that contains an answer to the question, and no CNAME chain, validate this response.Constructors in org.xbill.DNS.dnssec with parameters of type Message -
Uses of Message in org.xbill.DNS.io
Methods in org.xbill.DNS.io with parameters of type MessageModifier and TypeMethodDescriptionCompletableFuture<byte[]> TcpIoClient.sendAndReceiveTcp(InetSocketAddress local, InetSocketAddress remote, Message query, byte[] data, Duration timeout) Sends a query to a remote server and returns the answer.CompletableFuture<byte[]> UdpIoClient.sendAndReceiveUdp(InetSocketAddress local, InetSocketAddress remote, Message query, byte[] data, int max, Duration timeout) Sends a query to a remote server and returns the answer. -
Uses of Message in org.xbill.DNS.lookup
Fields in org.xbill.DNS.lookup with type parameters of type MessageModifier and TypeFieldDescriptionLookupResult.queryResponsePairsThe queries and responses that made up the result.Methods in org.xbill.DNS.lookup that return MessageMethods in org.xbill.DNS.lookup with parameters of type MessageModifier and TypeMethodDescriptionprivate static LookupResultLookupSession.buildResult(Message answer, List<Name> aliases, Record query) Returns a LookupResult if this response was a non-exceptional empty result, throws otherwise.private MessageLookupSession.maybeAddToCache(Message message) Constructors in org.xbill.DNS.lookup with parameters of type MessageModifierConstructorDescription(package private)LookupResult(LookupResult previous, Record query, Message answer, boolean isAuthenticated, List<Record> records, List<Name> aliases) -
Uses of Message in org.xbill.DNS.tools
Fields in org.xbill.DNS.tools declared as MessageModifier and TypeFieldDescription(package private) Messageupdate.query(package private) Messageupdate.responseMethods in org.xbill.DNS.tools that return MessageMethods in org.xbill.DNS.tools with parameters of type MessageModifier and TypeMethodDescriptionprivate voidjnamed.addAdditional(Message response, int flags) private voidjnamed.addAdditional2(Message response, int section, int flags) (package private) byteprivate voidjnamed.addCacheNS(Message response, Cache cache, Name name) private voidprivate void(package private) voidprivate void(package private) byte[](package private) static voidbyte[]jnamed.errorMessage(Message query, int rcode) (package private) byte[]jnamed.generateReply(Message query, byte[] in, Socket s)
TSIG.apply(Message, TSIGRecord, boolean)