public static final class RecordSet.Type extends StringEnumValueEnum 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
Static Fields
A
public static final RecordSet.Type AAddress record, which is used to map host names to their IPv4 address.
| Field Value | |
|---|---|
| Type | Description |
RecordSet.Type |
|
AAAA
public static final RecordSet.Type AAAAIPv6 Address record, which is used to map host names to their IPv6 address.
| Field Value | |
|---|---|
| Type | Description |
RecordSet.Type |
|
CAA
public static final RecordSet.Type CAACertificate Authority (CA) Authorization, which specifies which CAs are allowed to create certificates for a domain.
| Field Value | |
|---|---|
| Type | Description |
RecordSet.Type |
|
CNAME
public static final RecordSet.Type CNAMECanonical name record, which is used to alias names.
| Field Value | |
|---|---|
| Type | Description |
RecordSet.Type |
|
MX
public static final RecordSet.Type MXMail exchange record, which is used in routing requests to mail servers.
| Field Value | |
|---|---|
| Type | Description |
RecordSet.Type |
|
NAPTR
public static final RecordSet.Type NAPTRNaming authority pointer record, defined by RFC3403.
| Field Value | |
|---|---|
| Type | Description |
RecordSet.Type |
|
NS
public static final RecordSet.Type NSName server record, which delegates a DNS zone to an authoritative server.
| Field Value | |
|---|---|
| Type | Description |
RecordSet.Type |
|
PTR
public static final RecordSet.Type PTRPointer record, which is often used for reverse DNS lookups.
| Field Value | |
|---|---|
| Type | Description |
RecordSet.Type |
|
SOA
public static final RecordSet.Type SOAStart of authority record, which specifies authoritative information about a DNS zone.
| Field Value | |
|---|---|
| Type | Description |
RecordSet.Type |
|
SPF
public static final RecordSet.Type SPFSender policy framework record, which is used in email validation systems.
| Field Value | |
|---|---|
| Type | Description |
RecordSet.Type |
|
SRV
public static final RecordSet.Type SRVService locator record, which is used by some voice over IP, instant messaging protocols and other applications.
| Field Value | |
|---|---|
| Type | Description |
RecordSet.Type |
|
TXT
public static final RecordSet.Type TXTText 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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
constant |
String |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
constant |
String |
| Returns | |
|---|---|
| Type | Description |
RecordSet.Type |
|
values()
public static RecordSet.Type[] values()Return the known values for Type.
| Returns | |
|---|---|
| Type | Description |
Type[] |
|