| named_conf_soa: "ns1.example.com. admin.example.com." | |
| | |
+--------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
+|``named_conf_recursion: "no"`` |Define whether recursion should be allowed or not. Defaults to "no". Override in Ansible inventory as a hostvar. |
+| | |
+| |**NOTE:** Setting to "yes" will add ``allow-recursion { any; }``. See To-Do. |
++--------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
**named_domains: []**
- Allow additional user-defined firewall rules
- DNSSEC
- Dynamic DNS
+- Add support for specifying networks to allow recursion from
.. _Sepia: https://ceph.github.io/sepia/
- "{{ ansible_all_ipv4_addresses[0] }}"
named_conf_zones_path: "/var/named/zones"
named_conf_daemon_opts: ""
+named_conf_recursion: "no" # Allow recursion? [yes|no]
# Zone file conf vars
named_conf_soa_ttl: 3600
memstatistics-file "{{ named_conf_data_dir }}/named_mem_stats.txt";
allow-query { any; };
- recursion yes;
+ recursion {{ named_conf_recursion }};
+{% if named_conf_recursion == "yes" %}
allow-recursion { any; };
+{% endif %}
};
logging {