dns_sync.conf 368 B

1234567891011121314151617
  1. #
  2. # Check DNS sync
  3. apply Service "dns_sync" {
  4. import "generic-service"
  5. check_command = "dns_sync"
  6. vars.reference_ns = "80.70.181.60"
  7. vars.replica_ns = host.address
  8. vars.zones = [
  9. "ffho.net",
  10. "132.10.in-addr.arpa",
  11. "30.172.in-addr.arpa",
  12. ]
  13. assign where host.address && "dns-auth" in host.vars.roles
  14. ignore where "dns-server-master" in host.vars.roles
  15. }