{{- $domain := .Domain -}}
$TTL {{ or .TTL "1h" }}
@	IN	SOA	{{ $domain }}.	{{ or .Email "domain-admin" }}.	(
			{{ or .Timestamp "0000000000" }}	; Serial
			{{ or .Refresh "1h" }}		; Refresh
			{{ or .Retry "30m" }}		; Retry
			{{ or .Expire "1w" }}		; Expire
			{{ or .Minimum "1h" }}		; Minimum
)

;
;	Name Servers
;
{{- range .NameServers }}
			IN	NS	{{ . }}.
{{- end }}

;
;	Addresses
;
{{- range .BadDomains }}
{{ . }}		IN	CNAME	blocked.{{ $domain }}.
{{- end }}