diff --git a/playbooks/roles/master-nameserver/templates/named.conf.j2 b/playbooks/roles/master-nameserver/templates/named.conf.j2 index 66ebea2ac7..85c3af6e2d 100644 --- a/playbooks/roles/master-nameserver/templates/named.conf.j2 +++ b/playbooks/roles/master-nameserver/templates/named.conf.j2 @@ -10,7 +10,9 @@ options { recursion yes; allow-query { any; }; + {% if ansible_distribution_version is version('18.04', '<=') %} dnssec-enable yes; + {% endif %} dnssec-validation yes; empty-zones-enable yes;