diff --git a/app/src/main/cpp/baresip.c b/app/src/main/cpp/baresip.c index 265f88f7..6bf03da3 100644 --- a/app/src/main/cpp/baresip.c +++ b/app/src/main/cpp/baresip.c @@ -450,8 +450,8 @@ Java_com_tutpro_baresip_BaresipService_baresipStart(JNIEnv *env, jobject instanc goto out; } - // Turn off DNS client cache (should be OK with async workers) - // dnsc_cache_max(net_dnsc(baresip_network()), 0); + // Turn off DNS client cache (should be OK with async workers, but it not) + dnsc_cache_max(net_dnsc(baresip_network()), 0); if (strlen(addrs) > 0) { char* addr_list = (char*)malloc(strlen(addrs));