Markus Katharina Brechtel 6 роки тому
джерело
коміт
318f554324
1 змінених файлів з 6 додано та 0 видалено
  1. +6
    -0
      templates/knot.conf.j2

+ 6
- 0
templates/knot.conf.j2 Переглянути файл

@@ -28,11 +28,17 @@ remote:
{% if zone.type|default('managed') == 'slave' %}
- id: {{zone.domain}}/master
address: {{zone.master.ip}}
{% if zone.master.via is defined%}
via: {{zone.master.via}}
{% endif %}
{% endif %}
{% if zone.slaves is defined %}
{% for slave in zone.slaves %}
- id: {{zone.domain}}/slave/{{slave.name}}
address: {{slave.ip}}
{% if slave.via is defined%}
via: {{slave.via}}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}


Завантаження…
Відмінити
Зберегти