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: []
|
||||
- name: wg.chapo.li
|
||||
records: []
|
||||
|
||||
forward_zones:
|
||||
- name: internal.faercol.me
|
||||
server: 192.168.1.12
|
|
@ -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" {
|
||||
|
|
Loading…
Add table
Reference in a new issue