def domain_create(self, domain, master=True, **kwargs):
params = {<EOL>'<STR_LIT>': domain,<EOL>'<STR_LIT:type>': '<STR_LIT>' if master else '<STR_LIT>',<EOL>}<EOL>params.update(kwargs)<EOL>result = self.post('<STR_LIT>', data=params)<EOL>if not '<STR_LIT:id>' in result:<EOL><INDENT>raise UnexpectedResponseError('<STR_LIT>', json=result)<EOL><DEDENT>d = Domain(self, result['<STR_LIT:id>'], result)<EOL>return d<EOL>
Registers a new Domain on the acting user's account.  Make sure to point
your registrar to Linode's nameservers so that Linode's DNS manager will
correctly serve your domain.

:param domain: The domain to register to Linode's DNS manager.
:type domain: str
:param master: Whether this is a master (defaults to true)
:type master: bool

:returns: The new Domain object.
:rtype: Domain