Skip to content

Commit

Permalink
Merge pull request #4 from WebSpider/master
Browse files Browse the repository at this point in the history
Fixing unbound_domain generation
  • Loading branch information
jdauphant authored Oct 6, 2017
2 parents 6ed871a + 732ea2e commit d91281f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/10zone.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{% endfor %}

{% for domain in domains %}
# local-zone: "{{domain.domain_name}}." {{local_zone_type[domain.domain_name] | default(unbound_default_local_zone)}}
local-zone: "{{domain.domain_name}}." {{local_zone_type[domain.domain_name] | default(unbound_default_local_zone)}}
{% for subdomain, entry in domain.iteritems() %}
{% if subdomain != "domain_name" %}
local-data: "{{ subdomain }}.{{ domain.domain_name }}. {{ entry }}"
Expand Down

0 comments on commit d91281f

Please sign in to comment.