Fix recursion configuration check in named.conf.options.gateway.j2
This commit is contained in:
@@ -104,8 +104,8 @@ options {
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
// caching name services
|
// caching name services
|
||||||
{% if bind9_gateway_recursion is defined and bind9_gateway_recursion|bool %}
|
{% if bind9_gateway_recursion is defined and bind9_gateway_recursion|string|length > 0 %}
|
||||||
recursion {{ bind9_gateway_recursion }};
|
recursion {{ "yes" if bind9_gateway_recursion|bool else "no" }};
|
||||||
{% else %}
|
{% else %}
|
||||||
recursion yes;
|
recursion yes;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user