From 5ae922209758268e7ba0005a13de3f1b8bae8dab Mon Sep 17 00:00:00 2001 From: Myth Date: Tue, 14 Nov 2023 15:35:55 +0800 Subject: [PATCH] feat: change tun dns parameter --- zjuconnectcontroller/zjuconnectcontroller.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/zjuconnectcontroller/zjuconnectcontroller.cpp b/zjuconnectcontroller/zjuconnectcontroller.cpp index dceb535..3323b56 100644 --- a/zjuconnectcontroller/zjuconnectcontroller.cpp +++ b/zjuconnectcontroller/zjuconnectcontroller.cpp @@ -86,10 +86,7 @@ void ZjuConnectController::start( if (tunMode) { args.append("-tun-mode"); - args.append("-dns-server-bind"); - args.append("127.0.0.1:53"); - args.append("-tun-dns-server"); - args.append("127.0.0.1"); + args.append("-dns-hijack"); if (addRoute) {