ansible-collection-nameserver/docs/group_vars/all/zones/zone.example.org.yml
2021-09-29 23:26:54 +02:00

54 lines
992 B
YAML

---
# Replace 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"'