Class RecordSet.Type (2.16.0)

public static final class RecordSet.Type extends StringEnumValue

Enum for the DNS record types supported by Cloud DNS.

Google Cloud DNS currently supports records of type A, AAAA, CAA, CNAME, MX NAPTR, NS, PTR, SOA, SPF, SRV, TXT. See Also: Cloud DNS supported record types

Inheritance

java.lang.Object > com.google.cloud.StringEnumValue > RecordSet.Type

Static Fields

A

public static final RecordSet.Type A

Address record, which is used to map host names to their IPv4 address.

Field Value
TypeDescription
RecordSet.Type

AAAA

public static final RecordSet.Type AAAA

IPv6 Address record, which is used to map host names to their IPv6 address.

Field Value
TypeDescription
RecordSet.Type

CAA

public static final RecordSet.Type CAA

Certificate Authority (CA) Authorization, which specifies which CAs are allowed to create certificates for a domain.

Field Value
TypeDescription
RecordSet.Type

CNAME

public static final RecordSet.Type CNAME

Canonical name record, which is used to alias names.

Field Value
TypeDescription
RecordSet.Type

MX

public static final RecordSet.Type MX

Mail exchange record, which is used in routing requests to mail servers.

Field Value
TypeDescription
RecordSet.Type

NAPTR

public static final RecordSet.Type NAPTR

Naming authority pointer record, defined by RFC3403.

Field Value
TypeDescription
RecordSet.Type

NS

public static final RecordSet.Type NS

Name server record, which delegates a DNS zone to an authoritative server.

Field Value
TypeDescription
RecordSet.Type

PTR

public static final RecordSet.Type PTR

Pointer record, which is often used for reverse DNS lookups.

Field Value
TypeDescription
RecordSet.Type

SOA

public static final RecordSet.Type SOA

Start of authority record, which specifies authoritative information about a DNS zone.

Field Value
TypeDescription
RecordSet.Type

SPF

public static final RecordSet.Type SPF

Sender policy framework record, which is used in email validation systems.

Field Value
TypeDescription
RecordSet.Type

SRV

public static final RecordSet.Type SRV

Service locator record, which is used by some voice over IP, instant messaging protocols and other applications.

Field Value
TypeDescription
RecordSet.Type

TXT

public static final RecordSet.Type TXT

Text record, which can contain arbitrary text and can also be used to define machine readable data such as security or abuse prevention information.

Field Value
TypeDescription
RecordSet.Type

Static Methods

valueOf(String constant)

public static RecordSet.Type valueOf(String constant)

Get the Type for the given String constant, and allow unrecognized values.

Parameter
NameDescription
constantString
Returns
TypeDescription
RecordSet.Type

valueOfStrict(String constant)

public static RecordSet.Type valueOfStrict(String constant)

Get the Type for the given String constant, and throw an exception if the constant is not recognized.

Parameter
NameDescription
constantString
Returns
TypeDescription
RecordSet.Type

values()

public static RecordSet.Type[] values()

Return the known values for Type.

Returns
TypeDescription
Type[]