Include NSD config files from /etc/nsd/nsd.conf.d/*.conf (#2035)

And write MIAB dns zone config into /etc/nsd/nsd.conf.d/zones.conf. Delete lingering old zones.conf file.

Co-authored-by: Joshua Tauberer <jt@occams.info>
This commit is contained in:
drpixie
2021-09-24 08:07:40 -04:00
committed by GitHub
co-authored by Joshua Tauberer
parent 353084ce67
commit df46e1311b
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -604,7 +604,7 @@ def get_dns_zonefile(zone, env):
def write_nsd_conf(zonefiles, additional_records, env):
# Write the list of zones to a configuration file.
nsd_conf_file = "/etc/nsd/zones.conf"
nsd_conf_file = "/etc/nsd/nsd.conf.d/zones.conf"
nsdconf = ""
# Append the zones.