Commit aaa735db authored by Joshua Tauberer's avatar Joshua Tauberer

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

parent e9cde52a
...@@ -162,7 +162,7 @@ server: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment