def domain(random=random, *args, **kwargs):
    """
    Return a domain

    >>> mock_random.seed(0)
    >>> domain(random=mock_random)
    'onion.net'
    >>> domain(random=mock_random)
    'bag-of-heroic-chimps.sexy'

    """
    words = random.choice([
        noun(random=random),
        thing(random=random),
        adjective(random=random)+noun(random=random),
    ])
    return _slugify(words)+tld(random=random)
Return a domain

    >>> mock_random.seed(0)
    >>> domain(random=mock_random)
    'onion.net'
    >>> domain(random=mock_random)
    'bag-of-heroic-chimps.sexy'