add dns forward zones
This commit is contained in:
parent
047d2324ba
commit
0f38a0ca6b
2 changed files with 12 additions and 0 deletions
|
@ -15,3 +15,7 @@ zone_list:
|
||||||
records: []
|
records: []
|
||||||
- name: wg.chapo.li
|
- name: wg.chapo.li
|
||||||
records: []
|
records: []
|
||||||
|
|
||||||
|
forward_zones:
|
||||||
|
- name: internal.faercol.me
|
||||||
|
server: 192.168.1.12
|
|
@ -20,6 +20,14 @@ view "internal" {
|
||||||
{% endif %}
|
{% endif %}
|
||||||
};
|
};
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
{% for zone in forward_zones %}
|
||||||
|
zone "{{ zone.name }}" {
|
||||||
|
type forward;
|
||||||
|
forward only;
|
||||||
|
forwarders { {{ zone.server }}; };
|
||||||
|
};
|
||||||
|
{% endfor %}
|
||||||
};
|
};
|
||||||
|
|
||||||
view "public" {
|
view "public" {
|
||||||
|
|
Loading…
Add table
Reference in a new issue