RRset deployment
Specification
The specification of the RRset
contains the following fields:
Field | Type | Required | Description |
---|---|---|---|
type | string | Y | Type of the record (e.g. "A", "PTR", "MX") |
name | string | Y | Name of the record |
ttl | uint32 | Y | DNS TTL of the records, in seconds |
records | []string | Y | All records in this Resource Record Set |
comment | string | N | Comment on RRSet |
zoneRef | ZoneRef | Y | ZoneRef reference the zone the RRSet depends on |
The specification of the ZoneRef
contains the following fields:
Field | Type | Required | Description |
---|---|---|---|
name | string | Y | Name of the zone |
Example
apiVersion: dns.cav.enablers.ob/v1alpha1
kind: RRset
metadata:
name: test.helloworld.com
spec:
comment: nothing to tell
type: A
name: test
ttl: 300
records:
- 1.1.1.1
- 2.2.2.2
zoneRef:
name: helloworld.com
Note: The name can be canonical or not.