summaryrefslogtreecommitdiffstats
path: root/ipapython/dnsutil.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2014-10-16 15:43:29 +0200
committerMartin Kosek <mkosek@redhat.com>2014-10-21 12:23:03 +0200
commiteb548147413d63ca368bb92aaca126fd59fc0bee (patch)
tree8e8cc1020398a7f9227bcf629d5e9f0b01a252f8 /ipapython/dnsutil.py
parentbcce86554fd8185d7917053f31d179c8c23bf478 (diff)
downloadfreeipa-eb548147413d63ca368bb92aaca126fd59fc0bee.tar.gz
freeipa-eb548147413d63ca368bb92aaca126fd59fc0bee.tar.xz
freeipa-eb548147413d63ca368bb92aaca126fd59fc0bee.zip
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 <jcholast@redhat.com> Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipapython/dnsutil.py')
-rw-r--r--ipapython/dnsutil.py3
1 files changed, 3 insertions, 0 deletions
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))