Переглянути джерело

Only send notifies from Master auth-DNS (which has a public IP, too).

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 7 роки тому
батько
коміт
6aac93cc54
1 змінених файлів з 5 додано та 0 видалено
  1. 5 0
      dns-server/auth/named.conf.options

+ 5 - 0
dns-server/auth/named.conf.options

@@ -40,4 +40,9 @@ options {
 		{{ entry }};
 {%- endfor %}
 	};
+
+{%- if grains['id'] != 'dns01.in.ffho.net' %}
+	// Disable notifies on non-master DNS
+	notify no;
+{%- endif %}
 };