def create_dns_str(dns=''):
    """
    Creates a Subject Alternative Name formatted string from a comma-separated string
    :return: comma-separated SAN formatted string
    """
    separator = ','
    formatted_dns = []
    for d in dns.split(separator):
        formatted_dns.append('DNS:' + d)
    return (separator + ' ').join(formatted_dns)
