From 111ccda4aef2cd5ac0c6ea7e94646b1d27b04e5f Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Thu, 1 Jan 2015 23:12:43 +0100 Subject: [PATCH] fix adding DKIM in the root of a zone --- zone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2