Index: univention-s4-connector/modules/univention/s4connector/s4/dns.py =================================================================== --- univention-s4-connector/modules/univention/s4connector/s4/dns.py (Revision 77820) +++ univention-s4-connector/modules/univention/s4connector/s4/dns.py (Arbeitskopie) @@ -1499,7 +1502,11 @@ if object.get('attributes'): oc = object['attributes'].get('objectClass') - dc = object['attributes'].get('dc') + try: + dc = [value for key, value in object['attributes'].iteritems() if 'dc' == key.lower()][0] + except IndexError: + dc = None + if oc and 'dnsZone' in oc: # forward or reverse zone if dc and dc[0].endswith('in-addr.arpa'):