Packages that use Record
Package
Description
DNS message structures with wire-format parsing and serialization (no transport), from the MiniDNS 1.0.0 core subset (see
org.minidns). EDNS(0) option structures (RFC 6891), from the MiniDNS 1.0.0 core subset (see
org.minidns). DNS resource record types (A, AAAA, NS, SOA, MX, TXT, SRV and the DNSSEC records) with wire-format parsing, from the MiniDNS 1.0.0 core subset (see
org.minidns).Uses of Record in org.minidns.dnsmessage
Fields in org.minidns.dnsmessage with type parameters of type RecordModifier and TypeFieldDescriptionDnsMessage.additionalSectionThe additional section.DnsMessage.Builder.additionalSectionThe additional section records.DnsMessage.answerSectionThe answers section records.DnsMessage.Builder.answerSectionThe answer section records.DnsMessage.authoritySectionThe Authority Section.DnsMessage.Builder.authoritySectionThe authority section records.Methods in org.minidns.dnsmessage that return RecordModifier and TypeMethodDescriptionDnsMessage.getFirstOfType(DnsMessage.SectionName sectionName, Class<D> type) The first record of the given type.DnsMessage.getFirstOfTypeFromAdditionalSection(Class<D> type) Retrieve the first additional section record holding the given payload type.DnsMessage.getFirstOfTypeFromAnswerSection(Class<D> type) Retrieve the first answer record holding the given payload type.DnsMessage.getFirstOfTypeFromAuthoritySection(Class<D> type) Retrieve the first authority section record holding the given payload type.DnsMessage.getOptPseudoRecord()Retrieve the OPT pseudo record of this message.Methods in org.minidns.dnsmessage that return types with arguments of type RecordModifier and TypeMethodDescriptionDnsMessage.copyAnswers()Copy the records found in the answer section into a new list.DnsMessage.copyAuthority()Copy the records found in the authority section into a new list.DnsMessage.filterAdditionalSectionBy(Class<D> type) Collect the additional section records holding the given payload type.DnsMessage.filterAnswerSectionBy(Class<D> type) Collect the answer records holding the given payload type.DnsMessage.filterAuthoritySectionBy(Class<D> type) Collect the authority section records holding the given payload type.DnsMessage.filterSectionByType(boolean stopOnFirst, DnsMessage.SectionName sectionName, Class<D> type) Filters a section's records by data type.DnsMessage.filterSectionByType(DnsMessage.SectionName sectionName, Class<D> type) Filters a section's records by data type.DnsMessage.Builder.getAdditionalResourceRecords()Retrieve the additional section records.DnsMessage.Builder.getAnswers()Retrieve the answer section records.Methods in org.minidns.dnsmessage with parameters of type RecordModifier and TypeMethodDescriptionDnsMessage.Builder.addAdditionalResourceRecord(Record<? extends Data> record) Append a record to the additional section.Append a record to the answer section.DnsMessage.Builder.addNameserverRecords(Record<? extends Data> record) Append a record to the authority section.Method parameters in org.minidns.dnsmessage with type arguments of type RecordModifier and TypeMethodDescriptionDnsMessage.Builder.addAdditionalResourceRecords(List<Record<? extends Data>> records) Append records to the additional section.DnsMessage.Builder.addAnswers(Collection<Record<? extends Data>> records) Append records to the answer section.private static intDnsMessage.getOptRrPosition(List<Record<? extends Data>> additionalSection) Position of the OPT record in the additional section.DnsMessage.Builder.setAdditionalResourceRecords(Collection<Record<? extends Data>> records) Replace the additional section by a copy of the given records.DnsMessage.Builder.setAnswers(Collection<Record<? extends Data>> records) Replace the answer section by a copy of the given records.DnsMessage.Builder.setNameserverRecords(Collection<Record<? extends Data>> records) Replace the authority section by a copy of the given records.Uses of Record in org.minidns.edns
Fields in org.minidns.edns declared as RecordMethods in org.minidns.edns that return RecordMethods in org.minidns.edns with parameters of type RecordModifier and TypeMethodDescriptionstatic EdnsEdns.fromRecord(Record<? extends Data> record) Creates an EDNS instance from a record if it's an OPT record.Constructors in org.minidns.edns with parameters of type RecordUses of Record in org.minidns.record
Methods in org.minidns.record that return RecordModifier and TypeMethodDescriptionReturn the record as record with the givenDataclass.Record.ifPossibleAs(Class<E> dataClass) Return the record if possible as record with the givenDataclass.Record.parse(DataInputStream dis, byte[] data) Parse a given record based on the full message data and the current stream position.Methods in org.minidns.record that return types with arguments of type RecordModifier and TypeMethodDescriptionRecord.filter(Class<E> dataClass, Collection<Record<? extends Data>> input) Filter a collection of records by data class, returning a new list.Method parameters in org.minidns.record with type arguments of type RecordModifier and TypeMethodDescriptionRecord.filter(Class<E> dataClass, Collection<Record<? extends Data>> input) Filter a collection of records by data class, returning a new list.static <E extends Data>
voidRecord.filter(Collection<Record<E>> result, Class<E> dataClass, Collection<Record<? extends Data>> input) Filter a collection of records by data class, adding matching records to the result.