diff options
author | Lucas Christian <lucas@lucasec.com> | 2021-10-07 20:41:02 -0700 |
---|---|---|
committer | Lucas Christian <lucas@lucasec.com> | 2021-10-12 22:33:38 -0700 |
commit | 36e5f07f8dda51cc5bb0a105077e751f1c851435 (patch) | |
tree | 0c02c0746360525f73ceeec30d06905bbb9f4e04 /data/templates/dns-forwarding/recursor.conf.tmpl | |
parent | 044e9dc8bc7e3d946b0ba1f1edfe06b5323aeadd (diff) | |
download | vyos-1x-36e5f07f8dda51cc5bb0a105077e751f1c851435.tar.gz vyos-1x-36e5f07f8dda51cc5bb0a105077e751f1c851435.zip |
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 |