def METHOD_NAME(api_user_domain: DeSECAPIV1Client):
    domain = api_user_domain.get(f"/domains/{api_user_domain.domain}/").json()
    assert_all_ns(
        assertion=lambda query: {rr.to_text() for rr in query(api_user_domain.domain, 'CDS')} == set(domain['keys'][0]['ds']),
        retry_on=(AssertionError, TypeError),
    )
    assert domain['name'] == api_user_domain.domain