๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-playbooks/roles/coredns/templates/corefile.j2

18 lines
319 B

2 years ago
(common) {
root {{ (coredns_conf_dir ~ '/') | quote }}
any
bufsize {{ ns_edns0_bufsize | d(1232) }}
errors
loadbalance
}
{% for zone in coredns_tld_list %}
{{ zone }} {
import common
file {{ (zone ~ '.zone') | quote }}
}
{% endfor %}
2 years ago
import {{ coredns_tls_file | quote }}