mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-04-15 23:47:24 +02:00
write nsd.conf zones in a predictable order so that we don't keep rewriting it
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user