unbound.conf.j2 825 B

123456789101112131415161718192021222324252627
  1. server:
  2. # Disables DNSSEC
  3. module-config: "iterator"
  4. interface: 0.0.0.0
  5. interface: ::0
  6. access-control: {{ff_network.v4_network}} allow
  7. access-control: {{ff_network.v6_network}} allow
  8. access-control: fe80::/10 allow
  9. local-zone: "services.ffdo.de." static
  10. {% if domaenenliste is defined %}
  11. {% for domaene in domaenenliste|dictsort %}
  12. local-data: "ntp.services.ffdo.de. AAAA {{domaenen[domaene[0]].ffv6_network | ipaddr(domaene[1].server_id) | ipaddr('address') }}"
  13. local-data: "ntp.services.ffdo.de. A {{domaenen[domaene[0]].ffv4_network | ipaddr(domaene[1].server_id) | ipaddr('address') }}"
  14. {% endfor %}
  15. {% endif %}
  16. local-data: "update.services.ffdo.de. AAAA {{update_server}}"
  17. forward-zone:
  18. name: .
  19. {% if kea.dns.additional %}{% for entry in kea.dns.additional %}
  20. forward-addr:{{entry}}
  21. {%endfor %}{% endif %}