'Request challenges for domain names.
This is simply a convenience function that wraps around
`request_challenges`, but works with domain names instead of
generic identifiers. See ``request_challenges`` for more
documentation.
:param str domain: Domain name to be challenged.
:param str new_authzr_uri: Deprecated. Do not use.
:returns: Authorization Resource.
:rtype: `.AuthorizationResource`'

def request_domain_challenges(self, domain, new_authzr_uri=None):

    return self.request_challenges(messages.Identifier(typ=messages.IDENTIFIER_FQDN, value=domain), new_authzr_uri)
