write nsd.conf zones in a predictable order so that we don't keep rewriting it
This commit is contained in:
parent
e9cde52a48
commit
aaa735dbfe
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue