1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-24 02:37:05 +00:00

write nsd.conf zones in a predictable order so that we don't keep rewriting it

This commit is contained in:
Joshua Tauberer 2014-06-12 22:28:37 -04:00
parent e9cde52a48
commit aaa735dbfe

View File

@ -162,7 +162,7 @@ server:
# ZONES
"""
for domain, zonefile in zonefiles:
for domain, zonefile in sorted(zonefiles):
nsdconf += """
zone:
name: %s