diff --git a/management/dns_update.py b/management/dns_update.py index 8d8c5b54..4fe34636 100755 --- a/management/dns_update.py +++ b/management/dns_update.py @@ -162,7 +162,7 @@ server: # ZONES """ - for domain, zonefile in zonefiles: + for domain, zonefile in sorted(zonefiles): nsdconf += """ zone: name: %s