unbound/local-zones.conf: fix the python

This commit is contained in:
Astro 2018-06-23 02:28:06 +02:00
parent 28f6181ba7
commit fcb09714f3
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ server:
{%- endfor %}
forward-zone:
{%- for ctx, domain in pillar['bind']['root-domain'] %}
{%- for ctx, domain in pillar['bind']['root-domain'].items() %}
name: "{{ domain }}"
forward-addr: {{ pillar['hosts-inet']['serv']['dns'] }}
forward-addr: {{ pillar['hosts-inet6'][ctx]['serv']['dns'] }}