This resource is part of the v1alpha1 API and is subject to change. Fields and behavior may change in future releases.
Identity
| |
|---|
| Group | dns.networking.miloapis.com |
| Version | v1alpha1 |
| Kind | DNSZone |
| Scope | Project |
Overview
A DNSZone represents an authoritative DNS zone for a fully qualified domain name, provisioned from a referenced DNSZoneClass. Use it to establish the zone (for example, example.com) that DNS record sets are attached to within a Project.
Spec fields
| Field | Type | Required | Description |
|---|
spec.dnsZoneClassName | string | Yes | References the DNSZoneClass used to provision this zone. |
spec.domainName | string | Yes | The FQDN of the zone (e.g., example.com). |
Status fields (read-only)
| Field | Type | Description |
|---|
status.conditions | []Object | Tracks state such as Accepted and Programmed readiness. |
status.domainRef | Object | References the Domain this zone belongs to. |
status.nameservers | []string | Lists the active authoritative nameservers for this zone. |
status.recordCount | integer | The number of DNSRecordSet resources in this Project that reference this zone. |
Usage
apiVersion: dns.networking.miloapis.com/v1alpha1
kind: DNSZone
metadata:
name: example-com
spec:
dnsZoneClassName: standard
domainName: example.com
datumctl apply -f dnszone.yaml --project my-project
datumctl get dnszones --project my-project
datumctl describe dnszone example-com --project my-project
Run datumctl explain dnszones --recursive to see the full, live field tree for this resource.