54 lines
1,004 B
YAML
54 lines
1,004 B
YAML
---
|
|
|
|
# Replace example_org/example.org with your zone name
|
|
knot_zone_example_org:
|
|
|
|
masters:
|
|
- ns1.example.org
|
|
replicas:
|
|
- ns2.example.org
|
|
- ns3.example.org
|
|
updaters:
|
|
- foo.example.org
|
|
parents:
|
|
- a.gtld-servers.net
|
|
|
|
# Replace example.org. with your zone name
|
|
name: example.org.
|
|
# Enable automatic KSK rollover once a year
|
|
ksk_lifetime: 365d
|
|
|
|
# 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"'
|