import re


def domain_name(value: str):
    """
    Validator for domain name
    Example Result:
        [en.wikipedia.com]
    Detail: https://en.wikipedia.org/wiki/Domain_name#Domain_name_syntax
    """
    _domain_name_pat = r'(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]'    # pylint: disable=C0301
    return re.findall(_domain_name_pat, value)