49 lines
855 B
YAML
49 lines
855 B
YAML
|
---
|
||
|
|
||
|
# Replace example.org with your zone name
|
||
|
knot_zone_example.org:
|
||
|
|
||
|
masters:
|
||
|
- ns1.example.org
|
||
|
replicas:
|
||
|
- ns2.example.org
|
||
|
- ns3.example.org
|
||
|
|
||
|
# Replace example.org. with your zone name
|
||
|
name: example.org.
|
||
|
|
||
|
# Configure the SOA record to your liking
|
||
|
soa:
|
||
|
class: IN
|
||
|
primary: ns1.example.org
|
||
|
rname: abuse.example.org
|
||
|
refresh: 3600
|
||
|
retry: 300
|
||
|
expire: 7200
|
||
|
ttl: 3600
|
||
|
min_ttl: 3600
|
||
|
|
||
|
# Place your DNS records here
|
||
|
records:
|
||
|
|
||
|
- name: "@"
|
||
|
type: NS
|
||
|
value: ns1.example.org.
|
||
|
- name: "@"
|
||
|
type: NS
|
||
|
value: ns2.example.org.
|
||
|
- name: "@"
|
||
|
type: NS
|
||
|
value: ns3.example.org.
|
||
|
|
||
|
- name: "www"
|
||
|
type: AAAA
|
||
|
value: 2001:db8::42
|
||
|
|
||
|
- name: "@"
|
||
|
type: MX
|
||
|
value: 10 mail.example.org.
|
||
|
- name: "@"
|
||
|
type: TXT
|
||
|
value: '"v=spf1 mx a ~all"'
|