From eb548147413d63ca368bb92aaca126fd59fc0bee Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Thu, 16 Oct 2014 15:43:29 +0200 Subject: DNSSEC: DNS key synchronization daemon Tickets: https://fedorahosted.org/freeipa/ticket/3801 https://fedorahosted.org/freeipa/ticket/4417 Design: https://fedorahosted.org/bind-dyndb-ldap/wiki/BIND9/Design/DNSSEC Reviewed-By: Jan Cholasta Reviewed-By: David Kupka --- ipapython/dnsutil.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipapython') diff --git a/ipapython/dnsutil.py b/ipapython/dnsutil.py index 3602d22cd..d7841fe25 100644 --- a/ipapython/dnsutil.py +++ b/ipapython/dnsutil.py @@ -62,6 +62,9 @@ class DNSName(dns.name.Name): #method named by RFC 3490 and python standard library return str(self).decode('ascii') # must be unicode string + def canonicalize(self): + return DNSName(super(DNSName, self).canonicalize()) + def concatenate(self, other): return DNSName(super(DNSName, self).concatenate(other)) -- cgit