Sample zone file
{
"example.com.": [
{
"name": "example.com.",
"ttl": "1h0m0s",
"answers": {
"SOA": [
"ns1.example.com steve.example.com. 2023102019 10800 3600 2592000 600"
]
}
},
{
"name": "bounces.example.com.",
"ttl": "1h0m0s",
"answers": {
"A": [
"10.11.12.13"
]
}
},
{
"name": "replies.example.com.",
"ttl": "1h0m0s",
"answers": {
"A": [
"10.11.12.14"
]
}
},
{
"name": "k1._dkim.example.com.",
"ttl": "1h0m0s",
"answers": {
"TXT": [
"\"v=DKIM1; k=RSA; p=key-goes-here\""
]
}
},
{
"name": "k2._dkim.example.com.",
"ttl": "1h0m0s",
"answers": {
"TXT": [
"\"v=DKIM1; k=RSA; p=other-key-goes-here\""
]
}
},
{
"name": "_spf.example.com.",
"ttl": "1h0m0s",
"answers": {
"TXT": [
"\"v=spf1 ip4:10.11.12.10 ~all\""
]
}
},
{
"name": "(?P<selector>[^.]+)\\._domainkey\\.(?P<customer>[^.]+)\\.example\\.com.",
"ttl": "1h0m0s",
"answers": {
"CNAME": [
"${selector}._dkim.example.com"
]
}
},
{
"name": "bounces\\.(?P<customer>[^.]+)\\.example\\.com.",
"ttl": "1h0m0s",
"answers": {
"MX": [
"10 bounces.example.com"
],
"TXT": [
"\"v=spf1 include:_spf.example.com\""
]
}
},
{
"name": "(?P<customer>[^.]+)\\.example\\.com.",
"ttl": "1h0m0s",
"answers": {
"MX": [
"10 replies.example.com"
]
}
},
{
"name": "_dmarc\\.(?P<customer>[^.]+)\\.example\\.com.",
"ttl": "1h0m0s",
"answers": {
"TXT": [
"\"v=DMARC1 p=none rua=rua+${customer}@example.com\""
]
}
}
]
}
Last modified: 23 July 2024