1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-01 23:57: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 # ZONES
""" """
for domain, zonefile in zonefiles: for domain, zonefile in sorted(zonefiles):
nsdconf += """ nsdconf += """
zone: zone:
name: %s name: %s