named.conf 394 B

1234567891011121314151617181920212223
  1. options
  2. {
  3. directory "/var/named";
  4. allow-query { {{ ansible_default_ipv4.network }}/24; };
  5. recursion yes;
  6. {% if dns_forwarders is defined %}
  7. forwarders {
  8. {% for dns in dns_forwarders %}
  9. {{ dns }};
  10. {% endfor %}
  11. };
  12. {% endif %}
  13. };
  14. {% for zone in dns_zones %}
  15. zone "{{ zone }}" IN {
  16. type master;
  17. file "openshift-cluster.zone";
  18. };
  19. {% endfor %}