dns-server.sls 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #
  2. # DNS related settings
  3. #
  4. dns-server:
  5. # Reference NS for sync checks
  6. reference_ns: <IP of primary auth NS>
  7. # These settings are only relevant for boxes running DNS and monitoring
  8. {% if grains['id'].startswith ('dns') or grains['id'].startswith ('infra-') or grains['id'].startswith ('icinga2') %}
  9. acls:
  10. ffho-ops:
  11. FFH OPS:
  12. - <OPS prefixes>
  13. replicas:
  14. ns1.acme.org:
  15. - <IPv4 / IPv6 IPs of DNS replicas>
  16. ns1.acme.org:
  17. - <IPv4 / IPv6 IPs of DNS replicas>
  18. # Defaults if not specified below
  19. zone_defaults:
  20. type: master
  21. # ACLs defined above
  22. allow-transfer: "replicas; localhost; ffho-ops;"
  23. zones:
  24. # public zones
  25. paderborn.freifunk.net:
  26. file: /etc/bind/zones/static/paderborn.freifunk.net.zone
  27. hochstift.freifunk.net:
  28. file: /etc/bind/zones/static/hochstift.freifunk.net.zone
  29. ffho.net:
  30. file: /etc/bind/zones/generated/ffho.net.zone
  31. # reverse zones etc.
  32. # ...
  33. # Configuration for authoritive name server
  34. auth:
  35. ips:
  36. - <IPv4 / IPv6 IP of priamry auth NS>
  37. allow-recursion:
  38. - <Networks to allow recursive queries from>
  39. {% endif %}