Enum-Klasse RecordType

java.lang.Object
java.lang.Enum<RecordType>
codes.thischwa.cf.model.RecordType
Alle implementierten Schnittstellen:
Serializable, Comparable<RecordType>, Constable

public enum RecordType extends Enum<RecordType>
Enum representing various DNS record types.

Each constant in this enum corresponds to a specific DNS record type, such as "A", "AAAA", "CNAME", or "TXT". This enum provides a means to standardize the representation of these record types throughout the application while allowing easy retrieval of their string representation.

  • Verschachtelte Klassen - Übersicht

    Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum-Konstanten - Übersicht

    Enum-Konstanten
    Enum-Konstante
    Beschreibung
    Represents the DNS A record type.
    Represents the DNS AAAA record type.
    Represents the DNS CAA (Certificate Authority Authorization) record type.
    Represents the DNS CERT record type.
    Represents the DNS CNAME (Canonical Name) record type.
    Represents the DNSKEY record type.
    Represents the DNS DS (Delegation Signer) record type.
    Represents the DNS HTTPS (HTTP Service) record type.
    Represents the DNS LOC (Location) record type.
    Represents the DNS MX (Mail Exchange) record type.
    Represents the NAPTR record type for DNS configurations.
    Represents the namespace or identifier `"NS"` within the domain model.
    Represents the "OPENPGPKEY" DNS record type.
    Represents a DNS record type.
    Represents the SMIMEA DNS record type.
    Represents a service record (SRV) type in the DNS configuration model.
    Represents the DNS record type "SSHFP" (SSH Fingerprint), used in DNS to store cryptographic fingerprints associated with SSH host keys.
    Represents the Service Binding (SVCB) DNS record type.
    Represents a constant for the DNS-based Authentication of Named Entities (DANE) TLSA record type.
    Represents the TXT DNS record type.
    Represents a Uniform Resource Identifier (URI).
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
     
    static RecordType
    Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück.
    static RecordType[]
    Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.

    Von Klasse geerbte Methoden java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum-Konstanten - Details

    • A

      public static final RecordType A
      Represents the DNS A record type.

      The "A" record type is used to map a domain name to an IPv4 address.

    • AAAA

      public static final RecordType AAAA
      Represents the DNS AAAA record type.

      The "AAAA" record type maps a domain name to an IPv6 address.

    • CAA

      public static final RecordType CAA
      Represents the DNS CAA (Certificate Authority Authorization) record type.

      The "CAA" record type is used to specify which certificate authorities (CAs) are allowed to issue SSL/TLS certificates for a domain.

    • CERT

      public static final RecordType CERT
      Represents the DNS CERT record type.

      The "CERT" record type is used to store certificates and related certificate revocation lists or certificate authority data in DNS zones.

    • CNAME

      public static final RecordType CNAME
      Represents the DNS CNAME (Canonical Name) record type.

      The "CNAME" record type is used to alias one domain name to another.

    • DNSKEY

      public static final RecordType DNSKEY
      Represents the DNSKEY record type.

      The "DNSKEY" record type is used for storing public keys in DNS, as part of the DNS Security Extensions (DNSSEC). It helps in verifying the authenticity of DNS responses through digital signatures.

    • DS

      public static final RecordType DS
      Represents the DNS DS (Delegation Signer) record type.

      The "DS" record type is used in the DNSSEC (Domain Name System Security Extensions) protocol. It contains a hash of a DNSKEY record which is utilized in establishing a chain of trust from a parent zone to a child zone.

    • HTTPS

      public static final RecordType HTTPS
      Represents the DNS HTTPS (HTTP Service) record type.

      The "HTTPS" record type is used to specify information about the HTTP/3 and related services offered by a domain.

    • LOC

      public static final RecordType LOC
      Represents the DNS LOC (Location) record type.

      The "LOC" record type is used to store geographical location information for a domain, including latitude, longitude, altitude, and other details. It enables associating domains with physical locations.

    • MX

      public static final RecordType MX
      Represents the DNS MX (Mail Exchange) record type.

      The "MX" record type is used to specify the mail servers responsible for receiving email messages on behalf of a domain.

    • NAPTR

      public static final RecordType NAPTR
      Represents the NAPTR record type for DNS configurations.

      This constant is used to specify NAPTR (Naming Authority Pointer) DNS records, which allow for service discovery through flexible DNS-based mechanisms. NAPTR records are commonly used in applications such as VoIP and ENUM (Telephone Number Mapping) for resolving information about available services.

    • NS

      public static final RecordType NS
      Represents the namespace or identifier `"NS"` within the domain model.

      This variable typically designates elements related to name server operations or configurations in the context of the Cloudflare DNS system. It may be used as an identifier or constant throughout the application for operations involving name servers.

    • OPENPGPKEY

      public static final RecordType OPENPGPKEY
      Represents the "OPENPGPKEY" DNS record type.

      This constant is primarily used to identify DNS records of the type "OPENPGPKEY". It may be utilized within the system for operations such as creating, retrieving, updating, or managing DNS records specific to the "OPENPGPKEY" type.

    • PTR

      public static final RecordType PTR
      Represents a DNS record type.

      The `PTR` value specifically refers to a "pointer record" in the DNS system, which is typically used for reverse DNS lookups.

    • SMIMEA

      public static final RecordType SMIMEA
      Represents the SMIMEA DNS record type.

      The SMIMEA resource record is used to associate a user's certificate information for email message signing or encryption. This type of DNS record is part of the DNS-based Authentication of Named Entities (DANE) protocol.

      SMIMEA records provide a mechanism for utilizing certificates in email communication securely by publishing their information in DNS. They ensure integrity and authenticity of encrypted or signed email exchanges.

      Key features include:

      • Use in Secure/Multipurpose Internet Mail Extensions (S/MIME)-based messaging.
      • Facilitating secure email communications by publishing certificates in DNS.
      • Enhancing security by eliminating dependency on third-party certificate authorities.
    • SRV

      public static final RecordType SRV
      Represents a service record (SRV) type in the DNS configuration model.

      This constant may be used to identify and work with SRV record types in various DNS-related operations or integrations.

    • SSHFP

      public static final RecordType SSHFP
      Represents the DNS record type "SSHFP" (SSH Fingerprint), used in DNS to store cryptographic fingerprints associated with SSH host keys.

      This DNS record type provides a mechanism for verifying the authenticity of an SSH server before initiating a connection, enhancing the security of SSH communications.

    • SVCB

      public static final RecordType SVCB
      Represents the Service Binding (SVCB) DNS record type.

      The SVCB record is a DNS resource record used to indicate alternative endpoints or specific configuration details for services. It is commonly applied in service discovery and protocol-specific configurations.

    • TLSA

      public static final RecordType TLSA
      Represents a constant for the DNS-based Authentication of Named Entities (DANE) TLSA record type.

      The TLSA record is used to associate a TLS server certificate or public key with the domain name (e.g., via DNSSEC). It enables cryptographically secured connections by attaching certificate and key constraints to the specific domain.

    • TXT

      public static final RecordType TXT
      Represents the TXT DNS record type.

      The TXT DNS record type is commonly used to store text-based information for various verification and configuration purposes, such as domain ownership verification or email authentication protocols (e.g., SPF, DKIM).

    • URI

      public static final RecordType URI
      Represents a Uniform Resource Identifier (URI).

      This variable is used to define and manage URIs, which are string identifiers commonly utilized to specify the location of resources in various network-based systems.

      Features and usage:

      • Provides a standard way of identifying resources via URI syntax.
      • Can encapsulate support for schemes such as HTTP, HTTPS, FTP, etc.

      This variable serves as a critical component for resource identification and communication operations within the application.

  • Methodendetails

    • values

      public static RecordType[] values()
      Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.
      Gibt zurück:
      ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration
    • valueOf

      public static RecordType valueOf(String name)
      Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enum-Konstante in dieser Klasse deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)
      Parameter:
      name - Name der zurückzugebenden Enumerationskonstante.
      Gibt zurück:
      Enumerationskonstante mit dem angegebenen Namen
      Löst aus:
      IllegalArgumentException - wenn diese Enum-Klasse keine Konstante mit dem angegebenen Namen enthält
      NullPointerException - wenn das Argument nicht angegeben wird
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Enum<RecordType>