mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-09-19 01:27:58 +02:00
Update dns_update.py
Write MIAB dns zone config into /etc/nsd/nsd.conf.d/zones.conf
This commit is contained in:
@@ -604,7 +604,7 @@ def get_dns_zonefile(zone, env):
|
|||||||
|
|
||||||
def write_nsd_conf(zonefiles, additional_records, env):
|
def write_nsd_conf(zonefiles, additional_records, env):
|
||||||
# Write the list of zones to a configuration file.
|
# 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 = ""
|
nsdconf = ""
|
||||||
|
|
||||||
# Append the zones.
|
# Append the zones.
|
||||||
|
|||||||
Reference in New Issue
Block a user