diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-12-09 15:52:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 15:52:12 +0100 |
commit | e4854350aa00f35a005f3b11ee0139d0c69c4f96 (patch) | |
tree | ae6475c3178b1ec3fc7e14ad573a2f97c66526bf /data/templates/dns-forwarding/recursor.conf.tmpl | |
parent | e51b9444a6a6a4640445c22a7f71ba1e035876da (diff) | |
parent | 98704f45a4d261ae472e9b299080a1f06275ae81 (diff) | |
download | vyos-1x-e4854350aa00f35a005f3b11ee0139d0c69c4f96.tar.gz vyos-1x-e4854350aa00f35a005f3b11ee0139d0c69c4f96.zip |
Merge pull request #1024 from lucasec/dns-authoritative
T562: Config syntax for defining DNS forward authoritative zones
Diffstat (limited to 'data/templates/dns-forwarding/recursor.conf.tmpl')
-rw-r--r-- | data/templates/dns-forwarding/recursor.conf.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/dns-forwarding/recursor.conf.tmpl b/data/templates/dns-forwarding/recursor.conf.tmpl index d44f756e8..02efe903b 100644 --- a/data/templates/dns-forwarding/recursor.conf.tmpl +++ b/data/templates/dns-forwarding/recursor.conf.tmpl @@ -31,5 +31,8 @@ dnssec={{ dnssec }} # serve rfc1918 records serve-rfc1918={{ 'no' if no_serve_rfc1918 is defined else 'yes' }} +# zones +auth-zones={% for z in authoritative_zones %}{{ z.name }}={{ z.file }}{{- "," if not loop.last -}}{% endfor %} + forward-zones-file=recursor.forward-zones.conf |