Packages that use Data
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 Data in org.minidns.dnsmessage
Fields in org.minidns.dnsmessage with type parameters of type DataModifier 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 with type parameters of type DataModifier and TypeMethodDescriptionDnsMessage.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.getAnswersFor(Question q) Collect the payloads of the answer records matching the given question.DnsMessage.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.Methods in org.minidns.dnsmessage that return types with arguments of type DataModifier 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.Builder.getAdditionalResourceRecords()Retrieve the additional section records.DnsMessage.Builder.getAnswers()Retrieve the answer section records.Method parameters in org.minidns.dnsmessage with type arguments of type DataModifier and TypeMethodDescriptionDnsMessage.Builder.addAdditionalResourceRecord(Record<? extends Data> record) Append a record to the additional section.DnsMessage.Builder.addAdditionalResourceRecords(List<Record<? extends Data>> records) Append records to the additional section.Append a record to the answer section.DnsMessage.Builder.addAnswers(Collection<Record<? extends Data>> records) Append records to the answer section.DnsMessage.Builder.addNameserverRecords(Record<? extends Data> record) Append a record to the authority 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 Data in org.minidns.edns
Method parameters in org.minidns.edns with type arguments of type DataModifier and TypeMethodDescriptionstatic EdnsEdns.fromRecord(Record<? extends Data> record) Creates an EDNS instance from a record if it's an OPT record.Uses of Data in org.minidns.record
Classes in org.minidns.record with type parameters of type DataSubclasses of Data in org.minidns.recordModifier and TypeClassDescriptionclassDNS A record payload representing an IPv4 address.
Maps a domain name to an IPv4 address, the most common DNS record type.classDNS AAAA record payload representing an IPv6 address.
Maps a domain name to an IPv6 address, the IPv6 equivalent of A records.classDNS CNAME (Canonical Name) record payload.
Maps an alias domain name to a canonical domain name for DNS resolution.classAbstract base class for DNSSEC delegation records.
Provides common functionality for DNSSEC records that delegate trust from parent zones to child zones.classDNS DLV (DNSSEC Lookaside Validation) record payload.
Provides DNSSEC trust anchors from external validation repositories.classDNS DNAME (Domain Name) redirection record payload.
Provides redirection of an entire subtree of the DNS name space to another domain, similar to CNAME but for entire subtrees.classDNS DNSKEY record payload for DNSSEC public keys.
Contains a DNSSEC public key used to verify DNSSEC signatures for a DNS zone.classDNS DS (Delegation Signer) record payload for DNSSEC.
Contains the hash of a DNSKEY record used to authenticate delegated DNS zones in DNSSEC chain of trust.classInternetAddressRR<IA extends InetAddress>Abstract base class for DNS resource records representing internet addresses.
Extended by A and AAAA records to provide common functionality for IP address storage and retrieval.classDNS MX (Mail Exchange) record payload.
Specifies mail servers responsible for accepting email messages on behalf of a domain.classDNS NS (Nameserver) record payload.
Delegates a DNS zone to use the given authoritative name servers.classDNS NSEC (Next Secure) record payload for DNSSEC.
Provides authenticated denial of existence for DNS records and links to the next valid name in the zone.classDNS NSEC3 (Next Secure 3) record payload for DNSSEC.
Provides authenticated denial of existence with hashed names to prevent zone enumeration attacks.classDNS NSEC3PARAM record payload for DNSSEC.
Contains parameters used for NSEC3 hash calculations including algorithm, iterations, salt, and flags.classDNS OPENPGPKEY record payload for OpenPGP public keys.
Associates OpenPGP public keys with domain names for secure email and code signing applications.classDNS OPT record payload for EDNS0 extensions.
Enables extended DNS features and options beyond original DNS protocol.classDNS PTR (Pointer) record payload.
Used for reverse DNS lookups, mapping IP addresses to domain names.classDNS RRSIG (Resource Record Signature) record payload for DNSSEC.
Contains cryptographic signature covering a set of DNS records to provide authenticity and integrity verification.classAbstract base class for DNS resource records that point to a target domain name.
Extended by record types likeCNAME, NS, and others that contain a target field.classDNS SOA (Start of Authority) record payload.
Contains authoritative information about a DNS zone including primary nameserver, admin email, and timing parameters.classDNS SRV (Service) record payload for service discovery.
Specifies the location of services for a given domain with priority, weight, and port information for load balancing.classDNS TLSA record payload for TLS certificate association.
Associates TLS certificates with domain names for DANE-based authentication of TLS services.classDNS TXT record payload for arbitrary text data.
Contains one or more text strings, commonly used for verification, policies, or other metadata.final classDNS record payload for unknown or unsupported record types.
Provides raw byte-level access to record data when the specific record type is not recognized by the library.Fields in org.minidns.record declared as DataMethods in org.minidns.record with type parameters of type DataModifier and TypeMethodDescriptionReturn the record as record with the givenDataclass.Record.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.Record.TYPE.getDataClass()Get theDataclass for this type.static <D extends Data>
Record.TYPERetrieve the type for a givenDataclass.Record.ifPossibleAs(Class<E> dataClass) Return the record if possible as record with the givenDataclass.Methods in org.minidns.record that return types with arguments of type DataModifier and TypeMethodDescriptionRecord.parse(DataInputStream dis, byte[] data) Parse a given record based on the full message data and the current stream position.Method parameters in org.minidns.record with type arguments of type Data