summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipaserver/plugins/dns.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/plugins/dns.py b/ipaserver/plugins/dns.py
index 08f9c6dc1..0838161c3 100644
--- a/ipaserver/plugins/dns.py
+++ b/ipaserver/plugins/dns.py
@@ -3098,7 +3098,7 @@ class dnsrecord(LDAPObject):
# Classless zones (0/25.0.0.10.in-addr.arpa.) -> skip check
# zone has to be checked without reverse domain suffix (in-addr.arpa.)
- for sign in ('/', '-'):
+ for sign in (b'/', b'-'):
for name in (zone, addr):
for label in name.labels:
if sign in label: