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
+1 -1
View File
@@ -162,7 +162,7 @@ server:
# ZONES
"""
for domain, zonefile in zonefiles:
for domain, zonefile in sorted(zonefiles):
nsdconf += """
zone:
name: %s