Fix recursion configuration check in named.conf.options.gateway.j2

This commit is contained in:
2026-10-30 21:23:57 +01:00
parent a99b593b67
commit a0c99ae1ba
@@ -104,8 +104,8 @@ options {
{% endif %}
// caching name services
{% if bind9_gateway_recursion is defined and bind9_gateway_recursion|bool %}
recursion {{ bind9_gateway_recursion }};
{% if bind9_gateway_recursion is defined and bind9_gateway_recursion|string|length > 0 %}
recursion {{ "yes" if bind9_gateway_recursion|bool else "no" }};
{% else %}
recursion yes;
{% endif %}