ansible-collection-nameserver/docs/group_vars/all/zones/zone.example.org.yml

55 lines
1,004 B
YAML
Raw Permalink Normal View History

2021-01-19 21:12:53 +01:00
---
# Replace example_org/example.org with your zone name
knot_zone_example_org:
2021-01-19 21:12:53 +01:00
masters:
- ns1.example.org
replicas:
- ns2.example.org
- ns3.example.org
2021-02-05 21:36:46 +01:00
updaters:
- foo.example.org
2021-09-29 23:26:54 +02:00
parents:
- a.gtld-servers.net
2021-01-19 21:12:53 +01:00
# Replace example.org. with your zone name
name: example.org.
2021-09-29 23:26:54 +02:00
# Enable automatic KSK rollover once a year
ksk_lifetime: 365d
2021-01-19 21:12:53 +01:00
# 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"'