diff --git a/templates/named.conf.primaries.j2 b/templates/named.conf.primaries.j2 index 1411d29..dfe93e2 100644 --- a/templates/named.conf.primaries.j2 +++ b/templates/named.conf.primaries.j2 @@ -1,4 +1,4 @@ -{% for primary in item.primaries if primaries is iterable %} +{% for primary in item.primaries if item.primaries is iterable %} primaries {{ primary.name -}} {{ (' port ' + primary.port | string) if primary.port is defined and primary.port -}} {{ (' dscp ' + primary.dscp | string) if primary.dscp is defined and primary.dscp }} {