projects
/
zonemaker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
febb638
)
fix SOA formatting
author
Ralf Jung
<post@ralfj.de>
Mon, 10 Nov 2014 20:50:21 +0000
(21:50 +0100)
committer
Ralf Jung
<post@ralfj.de>
Mon, 10 Nov 2014 20:50:26 +0000
(21:50 +0100)
zonemaker/zone.py
patch
|
blob
|
history
diff --git
a/zonemaker/zone.py
b/zonemaker/zone.py
index 5f8e065d3b1f315f83ce2bf9f47523d4695d1956..35363ff6c207db8208af574a623b22bc5e1a682c 100644
(file)
--- 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',
# 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))
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))