From 9592acf11b058bc874f9b4682ed7b4d783cbed0d Mon Sep 17 00:00:00 2001 From: Bart Geesink Date: Mon, 1 Jul 2024 14:55:35 +0200 Subject: [PATCH] Bind: Add key directory locations --- roles/bind/templates/named.conf.options.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/bind/templates/named.conf.options.j2 b/roles/bind/templates/named.conf.options.j2 index cca8c96eb..5c884184a 100644 --- a/roles/bind/templates/named.conf.options.j2 +++ b/roles/bind/templates/named.conf.options.j2 @@ -10,5 +10,7 @@ options recursion no; pid-file "/run/named/named.pid"; session-keyfile "/run/named/session.key"; - version "{{ instance_name }} DNS server"; + key-directory "keys"; + bindkeys-file "/etc/bind/bind.keys"; + version "{{ instance_name }} DNS server"; };