Enum-Klasse RecordType
- Alle implementierten Schnittstellen:
Serializable,Comparable<RecordType>,Constable
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-KonstantenEnum-KonstanteBeschreibungRepresents 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 TypMethodeBeschreibungtoString()static RecordTypeGibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück.static RecordType[]values()Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.
-
Enum-Konstanten - Details
-
A
Represents the DNS A record type.The "A" record type is used to map a domain name to an IPv4 address.
-
AAAA
Represents the DNS AAAA record type.The "AAAA" record type maps a domain name to an IPv6 address.
-
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
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
Represents the DNS CNAME (Canonical Name) record type.The "CNAME" record type is used to alias one domain name to another.
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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ältNullPointerException- wenn das Argument nicht angegeben wird
-
toString
- Setzt außer Kraft:
toStringin KlasseEnum<RecordType>
-