diff --git a/src/local.c b/src/local.c index e95388a6..5ca7458b 100644 --- a/src/local.c +++ b/src/local.c @@ -92,7 +92,7 @@ uint64_t tx = 0; uint64_t rx = 0; ev_tstamp last = 0; -int is_remote_dns = 0; +int is_remote_dns = 1; // resolve hostname remotely char *stat_path = NULL; #endif @@ -580,7 +580,7 @@ not_bypass: if (sni_detected && acl #ifdef __ANDROID__ - && !is_remote_dns + && is_remote_dns #endif ) { // Reconstruct address buffer @@ -1593,7 +1593,7 @@ main(int argc, char **argv) stat_path = optarg; break; case 'D': - is_remote_dns = 1; + is_remote_dns = 0; break; case 'V': vpn = 1;