From: Ralf Jung Date: Mon, 10 Nov 2014 20:50:21 +0000 (+0100) Subject: fix SOA formatting X-Git-Url: https://git.ralfj.de/zonemaker.git/commitdiff_plain/164584073909c27d2a310c95ca13333bbf769aba fix SOA formatting --- diff --git a/zonemaker/zone.py b/zonemaker/zone.py index 5f8e065..35363ff 100644 --- a/zonemaker/zone.py +++ b/zonemaker/zone.py @@ -257,8 +257,8 @@ class Zone: # SOA record serial = self.inc_serial() yield self.RR(self._name, 'SOA', - ('{NS} {mail} ({serial} {refresh} {retry} {expire} {NX_TTL}) ; '+ - '(serial refresh retry expire NX_TTL)').format( + ('{NS} {mail} {serial} {refresh} {retry} {expire} {NX_TTL}'+ + ' ; primns mail serial refresh retry expire NX_TTL').format( NS=self.abs_hostname(self._NS[0]), mail=self._mail, serial=serial, refresh=time(self._refresh), retry=time(self._retry), expire=time(self._expire), NX_TTL=time(self._NX_TTL))