domain

// usage
chance.domain()
chance.domain({tld: 'com'})

Return a random domain with a random tld.

chance.domain()
=> 'onaro.net'

Optionally specify a tld and the domain will be random but the tld will not.

chance.domain({tld: 'ie'})
=> 'gotaujo.ie'