From 164584073909c27d2a310c95ca13333bbf769aba Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 10 Nov 2014 21:50:21 +0100 Subject: [PATCH 1/1] fix SOA formatting --- zonemaker/zone.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.30.2