add dns forward zones

This commit is contained in:
chapeau 2024-10-27 11:47:42 +01:00
parent 047d2324ba
commit 0f38a0ca6b
2 changed files with 12 additions and 0 deletions

View file

@ -15,3 +15,7 @@ zone_list:
records: []
- name: wg.chapo.li
records: []
forward_zones:
- name: internal.faercol.me
server: 192.168.1.12

View file

@ -20,6 +20,14 @@ view "internal" {
{% endif %}
};
{% endfor %}
{% for zone in forward_zones %}
zone "{{ zone.name }}" {
type forward;
forward only;
forwarders { {{ zone.server }}; };
};
{% endfor %}
};
view "public" {