Quellcode durchsuchen

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

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm vor 7 Jahren
Ursprung
Commit
6aac93cc54
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  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 %}
 };