DnsRecordSet

Stay organized with collections Save and categorize content based on your preferences.

Represents a DNS record set resource.

JSON representation
{
  "domain": string,
  "type": string,
  "ttl": string,
  "data": [
    string
  ]
}
Fields
domain

string

Required. The DNS or domain name of the record set, e.g. test.example.com.

type

string

Required. The identifier of a supported record type.

ttl

string (Duration format)

Required. The period of time for which this RecordSet can be cached by resolvers.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

data[]

string

Required. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) for examples see https://cloud.google.com/dns/records/json-record.