google::dns-resource-record-set

Creates a Resource Record Set.

Example

google::dns-resource-record-set public-managed-zone-www-cname-example
    managed-zone: $(google::dns-managed-zone public-managed-zone-example)
    name: "www.p.example.com."
    type: "CNAME"
    rrdatas: [ "fe.p.example.com." ]
end

google::dns-resource-record-set public-managed-zone-fe-a-example
    managed-zone: $(google::dns-managed-zone public-managed-zone-example)
    name: "fe.p.example.com."
    type: "A"
    rrdatas: [ "192.168.1.156", "192.168.1.158" ]
end

Attributes

Attribute Description
managed-zone The managed zone to create this record set in.
name The name of the resource record set. For example, www.example.com.
rrdatas As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) – see examples.
signature-rrdatas As defined in RFC 4034 (section 3.2).
ttl Number of seconds that this resource record set can be cached by resolvers.
type The identifier of a supported record type. See the list of Supported DNS record types.