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:
3338fe8
)
fix adding DKIM in the root of a zone
author
Ralf Jung
<post@ralfj.de>
Thu, 1 Jan 2015 22:12:43 +0000
(23:12 +0100)
committer
Ralf Jung
<post@ralfj.de>
Thu, 1 Jan 2015 22:12:43 +0000
(23:12 +0100)
zone.py
patch
|
blob
|
history
diff --git
a/zone.py
b/zone.py
index 36dae78df4102c18e987e56059cbcd5910d11df7..c311a214c6843ea1baa5834a0add9d636ef1c91b 100644
(file)
--- a/
zone.py
+++ b/
zone.py
@@
-171,7
+171,7
@@
class DKIM(TXT): # helper class to treat DKIM more antively
super().__init__("v={0}; k={1}; p={2}".format(version, alg, key))
def generate_rr(self, owner, zone):
super().__init__("v={0}; k={1}; p={2}".format(version, alg, key))
def generate_rr(self, owner, zone):
- return super().generate_rr('{0}._domainkey.{1}'.format(self._selector,
owner
), zone)
+ return super().generate_rr('{0}._domainkey.{1}'.format(self._selector,
zone.abs_hostname(owner)
), zone)
class SRV:
class SRV: