summaryrefslogtreecommitdiff
path: root/data/templates/dns-forwarding/recursor.vyos-hostsd.conf.lua.tmpl
diff options
context:
space:
mode:
authorLucas Christian <lucas@lucasec.com>2021-10-07 20:41:02 -0700
committerLucas Christian <lucas@lucasec.com>2021-10-12 22:33:38 -0700
commit36e5f07f8dda51cc5bb0a105077e751f1c851435 (patch)
tree0c02c0746360525f73ceeec30d06905bbb9f4e04 /data/templates/dns-forwarding/recursor.vyos-hostsd.conf.lua.tmpl
parent044e9dc8bc7e3d946b0ba1f1edfe06b5323aeadd (diff)
downloadvyos-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.vyos-hostsd.conf.lua.tmpl')
-rw-r--r--data/templates/dns-forwarding/recursor.vyos-hostsd.conf.lua.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/dns-forwarding/recursor.vyos-hostsd.conf.lua.tmpl b/data/templates/dns-forwarding/recursor.vyos-hostsd.conf.lua.tmpl
index 784d5c360..7f29c387e 100644
--- a/data/templates/dns-forwarding/recursor.vyos-hostsd.conf.lua.tmpl
+++ b/data/templates/dns-forwarding/recursor.vyos-hostsd.conf.lua.tmpl
@@ -22,3 +22,9 @@ addNTA("{{ zone }}", "static")
{% endfor %}
{% endif %}
+{% if authoritative_zones is defined %}
+-- from 'service dns forwarding authoritative-domain'
+{% for zone in authoritative_zones %}
+addNTA("{{ zone }}", "static")
+{% endfor %}
+{% endif %}