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