From 373beae65bc8206ef1ff7e5b2345d16a265db96a Mon Sep 17 00:00:00 2001 From: Nova Date: Sun, 27 Jul 2025 08:34:57 +0330 Subject: [PATCH] set local dns to dhcp for linux and mac --- include/global/DataStore.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/global/DataStore.hpp b/include/global/DataStore.hpp index ff0aa01..ef5e6f8 100644 --- a/include/global/DataStore.hpp +++ b/include/global/DataStore.hpp @@ -11,7 +11,11 @@ namespace Configs { // DNS QString remote_dns = "tls://8.8.8.8"; QString remote_dns_strategy = ""; +#ifdef Q_OS_WIN QString direct_dns = "localhost"; +#else + QString direct_dns = "dhcp://auto"; +#endif QString direct_dns_strategy = ""; bool use_dns_object = false; QString dns_object = "";