瀏覽代碼

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 %}
 };