def METHOD_NAME(api_user_domain: DeSECAPIV1Client):
    name = api_user_domain.domain
    old_serial = NSLordClient.query(name, 'SOA')[0].serial
    assert api_user_domain.domain_destroy(name).status_code == 204
    assert api_user_domain.domain_create(name).status_code == 201
    assert_all_ns(
        assertion=lambda query: query(name, 'SOA')[0].serial > old_serial,
        retry_on=(AssertionError, TypeError),
    )