diff options
author | qiuchengxuan <qiuchengxuan@gmail.com> | 2019-06-22 21:51:17 +0800 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-06-22 20:51:17 +0700 |
commit | 7773ad30bd940ffb5144224d61dc3354396f2c8b (patch) | |
tree | 2bc0e0e0bc29ead385d586ae110485b5625f5fda | |
parent | efb1a1c88f436a3704c4ca6e15b65aeded4b9654 (diff) | |
download | vyos-1x-7773ad30bd940ffb5144224d61dc3354396f2c8b.tar.gz vyos-1x-7773ad30bd940ffb5144224d61dc3354396f2c8b.zip |
[pdns-recursor] T1469 - replace forward-zones with forward-zones-recurse (#75)
forward-zones-recurse behaves identically to dnsmasq server option
in legacy vyos 1.1.8, while forward-zones option disallow recursive
name resolving, which leads to dns lookup failure
-rwxr-xr-x | src/conf_mode/dns_forwarding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/dns_forwarding.py b/src/conf_mode/dns_forwarding.py index 7559a0af6..0ce2eee2c 100755 --- a/src/conf_mode/dns_forwarding.py +++ b/src/conf_mode/dns_forwarding.py @@ -63,7 +63,7 @@ local-address={{ listen_on | join(',') }} # domain ... server ... {% if domains -%} -forward-zones={% for d in domains %} +forward-zones-recurse={% for d in domains %} {{ d.name }}={{ d.servers | join(";") }} {{- "," if not loop.last -}} {% endfor %} |