Uses of Class
org.microproxy.dns.DnsMessage
Packages that use DnsMessage
-
Uses of DnsMessage in org.microproxy.dns
Methods in org.microproxy.dns that return DnsMessageModifier and TypeMethodDescriptionstatic DnsMessageDnsMessage.decode(byte[] data) Decodes a message from its wire format, following compression pointers.static DnsMessageDnsMessage.of(int id, int flags, List<DnsMessage.Question> questions, List<DnsMessage.ResourceRecord> answers, List<DnsMessage.ResourceRecord> authorities, List<DnsMessage.ResourceRecord> additionals) A message made of its parts.static DnsMessageA query with recursion desired, for one name and type of class IN, without EDNS.DnsMessage.reply(List<DnsMessage.ResourceRecord> answers) An answer to this query: a response with the same ID, opcode, questions and recursion desired bit, recursion available, the RCODE NOERROR, andanswers.DnsMessage.withAdditionals(List<DnsMessage.ResourceRecord> additionals) This message with another additional section.DnsMessage.withAnswers(List<DnsMessage.ResourceRecord> answers) This message with other answers.DnsMessage.withAuthorities(List<DnsMessage.ResourceRecord> authorities) This message with another authority section.DnsMessage.withFlags(int flags) This message with other header flags (QR, opcode, AA, TC, RD, RA, Z, AD, CD and RCODE).DnsMessage.withId(int id) This message with another ID.DnsMessage.withQuestions(List<DnsMessage.Question> questions) This message with other questions.DnsMessage.withRcode(int rcode) This message with another RCODE (3 for NXDOMAIN, ...). -
Uses of DnsMessage in org.microproxy.quic
Methods in org.microproxy.quic that return DnsMessageModifier and TypeMethodDescriptionQuicMessage.dns()The payload as a DNS message, as DNS over QUIC (doq) carries them.Methods in org.microproxy.quic with parameters of type DnsMessageModifier and TypeMethodDescriptionQuicMessage.withDns(DnsMessage dns) A copy of this message whose payload isdns, encoded.