{{define "content"}}
ZONE STATE{{.Data.Zone.StateText}}
SERIAL{{.Data.Zone.SerialText}}
TYPE{{.Data.Zone.Kind}}
RECORDS{{.Data.Zone.Records}}
TRANSFER / SYNC{{if .Data.Zone.IsSecondary}}{{.Data.Zone.SyncText}}{{else}}—{{end}}
LAST SYNC{{.Data.Zone.LastSync}}
{{if eq .Data.Tab "overview"}}

Zone status

Live authoritative store state

Zone name{{.Data.Zone.Name}}
Loaded{{if .Data.Zone.Loaded}}Yes{{else}}No{{end}}
Expired{{if .Data.Zone.Expired}}Yes{{else}}No{{end}}
Journal entries{{.Data.Zone.JournalEntries}}
View associations{{if .Data.Zone.Views}}{{join .Data.Zone.Views ", "}}{{else}}Default{{end}}

Transfer & notification

Configured values from zone detail

NOTIFY targets{{len .Data.Zone.Config.Notify}}
Transfer ACL entries{{len .Data.Zone.Config.TransferACL}}
Primaries{{len .Data.Zone.Config.Primaries}}
NOTIFY sent{{int .Data.Zone.Status.NotifiesSent}}
NOTIFY failed{{int .Data.Zone.Status.NotifiesFailed}}

Secondary refresh

Only applicable to secondary zones

Last successful{{.Data.Zone.LastSync}}
Last error{{if .Data.Zone.Status.LastError}}{{.Data.Zone.Status.LastError}}{{else}}—{{end}}
Serial{{.Data.Zone.SerialText}}
View DNS recordsTransfer historyZone operations
{{else if eq .Data.Tab "records"}}
{{if .Data.HideDNSSEC}}DNSSEC records hidden{{else}}{{int .Data.Pagination.Total}} records{{end}} {{if .Data.IsPrimary}}Add record{{else}}Secondary · read-only{{end}}
{{if .Data.IsPrimary}}{{end}} {{range .Data.Records}} {{if $.Data.IsPrimary}}{{end}} {{else}}{{end}}
NAMETYPERDATATTLACTIONS
{{.Name}}{{.Type}}{{.Data}}{{.TTL}}{{if ne .Type "SOA"}}
{{else}}Managed{{end}}
{{if .Data.HideDNSSEC}}No non-DNSSEC records match these filters. Uncheck the box to show all records.{{else}}No records returned for this filter.{{end}}
Writes are protected with the zone serial ETag. SOA records are managed through whole-zone replacement; secondaries are read-only.
{{else if eq .Data.Tab "transfers"}}

Zone transfer history

Recorded inbound and outbound AXFR / IXFR events

{{range .Data.Transfers}}{{else}}{{end}}
TIMEDIRECTIONTYPEPEERSERIALRECORDSDURATIONRESULT
{{when .TimeUnix}}{{.Direction}}{{.Kind}}{{.Peer}}{{if .Serial}}{{.Serial}}{{else}}—{{end}}{{.Records}}{{.DurationMS}} ms{{if .OK}}Completed{{else}}{{if .Error}}{{.Error}}{{else}}Failed{{end}}{{end}}
No recorded transfers. This API provides history, not a live transfer queue.
{{else if eq .Data.Tab "dnssec"}}

DNSSEC status

Inspection only. Key lifecycle and signing changes are not exposed through REST.

{{if .Data.Zone.DNSSEC}}
{{asjson .Data.Zone.DNSSEC}}
{{else}}
No DNSSEC status returned for this zone.
{{end}}
{{else if eq .Data.Tab "operations"}}

Supported zone actions

Available operations depend on the zone role and configuration

{{if .Data.Zone.IsSecondary}}
Synchronize secondaryRequest an immediate refresh from its primary.
{{end}} {{if .Data.Zone.Config.Notify}}
Send DNS NOTIFY{{len .Data.Zone.Config.Notify}} configured targets · HTTP 202 means accepted, not delivered
{{end}} {{if .Data.Zone.IsPrimary}}
Replace zone contentsSubmit a complete operator-provided zone file. No original file download.
Replace zone
{{end}}
Delete API-created zoneOnly zones created in the API overlay are deletable; others return HTTP 409.
Delete zone
{{if and (not .Data.Zone.IsSecondary) (not .Data.Zone.IsPrimary)}}
Zone operations require a loaded zone.
{{end}}

Configured transfer access

Read-only zone configuration

Transfer ACL

{{range .Data.Zone.Config.TransferACL}}
{{.}}
{{else}}

No transfer ACL entries.

{{end}}

NOTIFY targets

{{range .Data.Zone.Config.Notify}}
{{.}}
{{else}}

No NOTIFY targets.

{{end}}

Primary servers

{{range .Data.Zone.Config.Primaries}}
{{.}}
{{else}}

No primary servers in this zone configuration.

{{end}}
{{end}} {{end}}