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 Data
    Modifier and Type
    Field
    Description
    final List<Record<? extends Data>>
    The additional section.
    private List<Record<? extends Data>>
    DnsMessage.Builder.additionalSection
    The additional section records.
    final List<Record<? extends Data>>
    DnsMessage.answerSection
    The answers section records.
    private List<Record<? extends Data>>
    DnsMessage.Builder.answerSection
    The answer section records.
    final List<Record<? extends Data>>
    DnsMessage.authoritySection
    The Authority Section.
    private List<Record<? extends Data>>
    DnsMessage.Builder.authoritySection
    The authority section records.
    Methods in org.minidns.dnsmessage with type parameters of type Data
    Modifier and Type
    Method
    Description
    <D extends Data>
    List<Record<D>>
    DnsMessage.filterAdditionalSectionBy(Class<D> type)
    Collect the additional section records holding the given payload type.
    <D extends Data>
    List<Record<D>>
    DnsMessage.filterAnswerSectionBy(Class<D> type)
    Collect the answer records holding the given payload type.
    <D extends Data>
    List<Record<D>>
    DnsMessage.filterAuthoritySectionBy(Class<D> type)
    Collect the authority section records holding the given payload type.
    private <D extends Data>
    List<Record<D>>
    DnsMessage.filterSectionByType(boolean stopOnFirst, DnsMessage.SectionName sectionName, Class<D> type)
    Filters a section's records by data type.
    private <D extends Data>
    List<Record<D>>
    DnsMessage.filterSectionByType(DnsMessage.SectionName sectionName, Class<D> type)
    Filters a section's records by data type.
    <D extends Data>
    Set<D>
    DnsMessage.getAnswersFor(Question q)
    Collect the payloads of the answer records matching the given question.
    private <D extends Data>
    Record<D>
    DnsMessage.getFirstOfType(DnsMessage.SectionName sectionName, Class<D> type)
    The first record of the given type.
    <D extends Data>
    Record<D>
    Retrieve the first additional section record holding the given payload type.
    <D extends Data>
    Record<D>
    Retrieve the first answer record holding the given payload type.
    <D extends Data>
    Record<D>
    Retrieve the first authority section record holding the given payload type.
    Methods in org.minidns.dnsmessage that return types with arguments of type Data
    Modifier and Type
    Method
    Description
    List<Record<? extends Data>>
    DnsMessage.copyAnswers()
    Copy the records found in the answer section into a new list.
    List<Record<? extends Data>>
    DnsMessage.copyAuthority()
    Copy the records found in the authority section into a new list.
    List<Record<? extends Data>>
    DnsMessage.Builder.getAdditionalResourceRecords()
    Retrieve the additional section records.
    List<Record<? extends Data>>
    DnsMessage.Builder.getAnswers()
    Retrieve the answer section records.
    Method parameters in org.minidns.dnsmessage with type arguments of type Data
    Modifier and Type
    Method
    Description
    DnsMessage.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.
    DnsMessage.Builder.addAnswer(Record<? extends Data> answer)
    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 int
    DnsMessage.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 Data
    Modifier and Type
    Method
    Description
    static Edns
    Edns.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 Data
    Modifier and Type
    Class
    Description
    final class 
    Record<D extends Data>
    A generic DNS record.
    Subclasses of Data in org.minidns.record
    Modifier and Type
    Class
    Description
    class 
    DNS A record payload representing an IPv4 address.
    Maps a domain name to an IPv4 address, the most common DNS record type.
    class 
    DNS AAAA record payload representing an IPv6 address.
    Maps a domain name to an IPv6 address, the IPv6 equivalent of A records.
    class 
    DNS CNAME (Canonical Name) record payload.
    Maps an alias domain name to a canonical domain name for DNS resolution.
    class 
    Abstract base class for DNSSEC delegation records.
    Provides common functionality for DNSSEC records that delegate trust from parent zones to child zones.
    class 
    DNS DLV (DNSSEC Lookaside Validation) record payload.
    Provides DNSSEC trust anchors from external validation repositories.
    class 
    DNS 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.
    class 
    DNS DNSKEY record payload for DNSSEC public keys.
    Contains a DNSSEC public key used to verify DNSSEC signatures for a DNS zone.
    class 
    DNS 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.
    class 
    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.
    class 
    DNS MX (Mail Exchange) record payload.
    Specifies mail servers responsible for accepting email messages on behalf of a domain.
    class 
    DNS NS (Nameserver) record payload.
    Delegates a DNS zone to use the given authoritative name servers.
    class 
    DNS 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.
    class 
    DNS NSEC3 (Next Secure 3) record payload for DNSSEC.
    Provides authenticated denial of existence with hashed names to prevent zone enumeration attacks.
    class 
    DNS NSEC3PARAM record payload for DNSSEC.
    Contains parameters used for NSEC3 hash calculations including algorithm, iterations, salt, and flags.
    class 
    DNS OPENPGPKEY record payload for OpenPGP public keys.
    Associates OpenPGP public keys with domain names for secure email and code signing applications.
    class 
    DNS OPT record payload for EDNS0 extensions.
    Enables extended DNS features and options beyond original DNS protocol.
    class 
    DNS PTR (Pointer) record payload.
    Used for reverse DNS lookups, mapping IP addresses to domain names.
    class 
    DNS RRSIG (Resource Record Signature) record payload for DNSSEC.
    Contains cryptographic signature covering a set of DNS records to provide authenticity and integrity verification.
    class 
    Abstract base class for DNS resource records that point to a target domain name.
    Extended by record types like CNAME, NS, and others that contain a target field.
    class 
    DNS SOA (Start of Authority) record payload.
    Contains authoritative information about a DNS zone including primary nameserver, admin email, and timing parameters.
    class 
    DNS 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.
    class 
    DNS TLSA record payload for TLS certificate association.
    Associates TLS certificates with domain names for DANE-based authentication of TLS services.
    class 
    DNS TXT record payload for arbitrary text data.
    Contains one or more text strings, commonly used for verification, policies, or other metadata.
    final class 
    DNS 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 Data
    Modifier and Type
    Field
    Description
    final D
    The payload object of this record.
    Methods in org.minidns.record with type parameters of type Data
    Modifier and Type
    Method
    Description
    <E extends Data>
    Record<E>
    Record.as(Class<E> dataClass)
    Return the record as record with the given Data class.
    static <E extends Data>
    List<Record<E>>
    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>
    void
    Record.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.
    <D extends Data>
    Class<D>
    Record.TYPE.getDataClass()
    Get the Data class for this type.
    static <D extends Data>
    Record.TYPE
    Record.TYPE.getType(Class<D> dataClass)
    Retrieve the type for a given Data class.
    <E extends Data>
    Record<E>
    Record.ifPossibleAs(Class<E> dataClass)
    Return the record if possible as record with the given Data class.
    Methods in org.minidns.record that return types with arguments of type Data
    Modifier and Type
    Method
    Description
    static Record<Data>
    Record.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
    Modifier and Type
    Method
    Description
    static <E extends Data>
    List<Record<E>>
    Record.filter(Class<E> dataClass, Collection<Record<? extends Data>> input)
    Filter a collection of records by data class, returning a new list.