From 6256732c104948c763e1430b845dd42c296d46cc Mon Sep 17 00:00:00 2001
From: Ian Wienand <iwienand@redhat.com>
Date: Mon, 1 Apr 2019 18:07:47 +1100
Subject: [PATCH] Remove zonefile from nsd config

The zonefile isn't required in the config file as we are just
transfering from adns1.  Since we don't create the directory for the
files, it results in warnings in the nsd logs -- this can be a
confusing red-herring in a debugging situation.

Change-Id: I3e16a359549707a4a3967f580161dec9e71ab689
Related-Bug: https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4244
---
 playbooks/roles/nameserver/templates/nsd.conf.j2 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/playbooks/roles/nameserver/templates/nsd.conf.j2 b/playbooks/roles/nameserver/templates/nsd.conf.j2
index 4627273b11..29ddc54b49 100644
--- a/playbooks/roles/nameserver/templates/nsd.conf.j2
+++ b/playbooks/roles/nameserver/templates/nsd.conf.j2
@@ -35,7 +35,6 @@ key:
 {% for zone in dns_zones %}
 zone:
     name: {{ zone.name }}
-    zonefile: /var/lib/nsd/zone/{{ zone.name }}
     allow-notify: {{ dns_master }} NOKEY
     request-xfr: AXFR {{ dns_master }} tsig
 {% endfor %}