def METHOD_NAME(self, returned: kdb.KeySet, parentKey: kdb.Key):
    """
    #  - nil or 1 : on success
    #  -        0 : OK but nothing was to do
    #  -       -1 : failure
    """
    mod = "system:/elektra/modules/python"
    if parentKey.name == mod:
        returned.append(kdb.Key(mod, kdb.KEY_VALUE, "contract below"))
        returned.append(kdb.Key(mod + "/infos", kdb.KEY_VALUE, "contract below"))
        returned.append(kdb.Key(mod + "/infos/license", kdb.KEY_VALUE, "BSD"))
        returned.append(kdb.Key(mod + "/infos/provides", kdb.KEY_VALUE, "check"))
        returned.append(kdb.Key(mod + "/infos/status", kdb.KEY_VALUE, "maintained"))
        returned.append(kdb.Key(mod + "/infos/placements", kdb.KEY_VALUE, "postgetstorage presetstorage"))
        returned.append(kdb.Key(mod + "/infos/description", kdb.KEY_VALUE, "checks if name is resolvable"))
        return 1
    warning_list = []
    for k in returned:
        if not check_key(k):
            warning_list.append(k)
            print(f"Couldn't resolve domain name for key: {k}")
    if warning_list:
        parentKey.setMeta("warnings", str(len(warning_list)))
        c = 0
        for warn_key in warning_list:
            if c == 100:
                c = 0
            if c > 9:
                index = "#_" + str(c)
            else:
                index = "#" + str(c)
            parentKey.setMeta(f"warnings/{index}/number", "C03200")
            parentKey.setMeta(f"warnings/{index}/description", "Validation Semantic")
            parentKey.setMeta(f"warnings/{index}/reason", f"Failed to resolve domain name for key {warn_key}")
            parentKey.setMeta(f"warnings/{index}/module", "python check/dns script")
            parentKey.setMeta(f"warnings/{index}/file", "unknown")
            parentKey.setMeta(f"warnings/{index}/line", "0")
            parentKey.setMeta(f"warnings/{index}/mountpoint", str(parentKey.name))
            parentKey.setMeta(f"warnings/{index}/configfile", str(parentKey.value))
            c += 1
        return -1
    return 1