From 7773ad30bd940ffb5144224d61dc3354396f2c8b Mon Sep 17 00:00:00 2001 From: qiuchengxuan Date: Sat, 22 Jun 2019 21:51:17 +0800 Subject: [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 --- src/conf_mode/dns_forwarding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode/dns_forwarding.py') 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 %} -- cgit v1.2.3