One record per line: owner [ttl] [IN] TYPE rdata. TTL 300–86400 seconds. Default 3600. Host @ is the apex. * is a wildcard as the leftmost label. Class IN is optional. Comments start with ;.
$ORIGIN sets the suffix for relative names. $TTL sets the default TTL when a line omits it. $INCLUDE and $GENERATE are refused. SOA, NS, and DNSSEC types are skipped on save.
ALIAS is apex-only and flattens the target's A and AAAA. CNAME cannot sit at the apex. A and AAAA must be public addresses.
example.com.zone
; SOA and NS are server-managed. Saving this file does not change them.
$ORIGIN example.com.
$TTL 3600
@ 3600 IN A 203.0.113.10
www 3600 IN CNAME example.com.
@ 3600 IN MX 10 mail.example.com.
@ 3600 IN TXT "v=spf1 mx -all"