|
@@ -1,6 +1,7 @@
|
|
|
#
|
|
|
# DNS service checks (Salt maanged)
|
|
|
#
|
|
|
+{%- set reference_ns = salt['pillar.get']('dns-server:reference_ns') %}
|
|
|
|
|
|
################################################################################
|
|
|
# Internal DNS services #
|
|
@@ -50,7 +51,7 @@ apply Service "dns_sync" {
|
|
|
import "generic-service"
|
|
|
|
|
|
check_command = "dns_sync"
|
|
|
- vars.reference_ns = "80.70.180.53"
|
|
|
+ vars.reference_ns = "{{ reference_ns }}"
|
|
|
vars.replica_ns = host.address
|
|
|
vars.zones = [
|
|
|
"ffho.net",
|
|
@@ -71,7 +72,7 @@ apply Service "dns_sync_dns01.srv.rfc2324.org" {
|
|
|
import "generic-service"
|
|
|
|
|
|
check_command = "dns_sync"
|
|
|
- vars.reference_ns = "80.70.180.53"
|
|
|
+ vars.reference_ns = "{{ reference_ns }}"
|
|
|
vars.replica_ns = "31.172.8.66"
|
|
|
vars.zones = [
|
|
|
"ffho.net",
|
|
@@ -86,7 +87,7 @@ apply Service "dns_sync_ns.youngage.eu" {
|
|
|
import "generic-service"
|
|
|
|
|
|
check_command = "dns_sync"
|
|
|
- vars.reference_ns = "80.70.180.53"
|
|
|
+ vars.reference_ns = "{{ reference_ns }}"
|
|
|
vars.replica_ns = "5.9.142.19"
|
|
|
vars.zones = [
|
|
|
"ffho.net",
|