From: Ralf Jung Date: Thu, 1 Jan 2015 22:12:43 +0000 (+0100) Subject: fix adding DKIM in the root of a zone X-Git-Url: https://git.ralfj.de/zonemaker.git/commitdiff_plain/111ccda4aef2cd5ac0c6ea7e94646b1d27b04e5f?ds=inline fix adding DKIM in the root of a zone --- diff --git a/zone.py b/zone.py index 36dae78..c311a21 100644 --- 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): - 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: