Browse Source

zone transfer via

master
parent
commit
318f554324
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      templates/knot.conf.j2

+ 6
- 0
templates/knot.conf.j2 View File

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


Loading…
Cancel
Save