浏览代码

解決默認提供的一些 DNS 在特定地區無法使用的問題

兩足大貓貓 4 年之前
父节点
当前提交
e3adfe1588
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      config/appprofile.example.php

+ 7 - 7
config/appprofile.example.php

@@ -20,7 +20,7 @@ $_ENV['Surge_Profiles'] = [
         'Checks' => [],
         'Checks' => [],
         'General' => [
         'General' => [
             'loglevel'                    => 'notify',
             'loglevel'                    => 'notify',
-            'dns-server'                  => 'system, 117.50.10.10, 119.29.29.29, 223.6.6.6',
+            'dns-server'                  => 'system, 119.29.29.29, 1.1.1.1',
             'skip-proxy'                  => '127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8, localhost, *.local, *.crashlytics.com',
             'skip-proxy'                  => '127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8, localhost, *.local, *.crashlytics.com',
             'external-controller-access'  => '[email protected]:8233',
             'external-controller-access'  => '[email protected]:8233',
             'allow-wifi-access'           => 'true',
             'allow-wifi-access'           => 'true',
@@ -138,7 +138,7 @@ $_ENV['Surge2_Profiles'] = [
             'loglevel'                   => 'notify',
             'loglevel'                   => 'notify',
             'ipv6'                       => 'true',
             'ipv6'                       => 'true',
             'replica'                    => 'false',
             'replica'                    => 'false',
-            'dns-server'                 => 'system, 119.29.29.29, 223.5.5.5',
+            'dns-server'                 => 'system, 119.29.29.29, 1.1.1.1',
             'skip-proxy'                 => '127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8, localhost, *.local, *.crashlytics.com',
             'skip-proxy'                 => '127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8, localhost, *.local, *.crashlytics.com',
             'bypass-system'              => 'true',
             'bypass-system'              => 'true',
             'allow-wifi-access'          => 'true',
             'allow-wifi-access'          => 'true',
@@ -258,12 +258,12 @@ $_ENV['Clash_Profiles'] = [
             'enhanced-mode'       => 'fake-ip',
             'enhanced-mode'       => 'fake-ip',
             'fake-ip-range'       => '198.18.0.1/16',
             'fake-ip-range'       => '198.18.0.1/16',
             'nameserver'=>[
             'nameserver'=>[
-                '114.114.114.114',
-                'tcp://223.5.5.5'
+                '119.29.29.29',
+                '1.1.1.1'
             ],
             ],
             'fallback'=>[
             'fallback'=>[
-                'tls://223.5.5.5:853',
-                'https://223.5.5.5/dns-query'
+                '1.0.0.1',
+                '8.8.8.8'
             ],
             ],
             'fallback-filter'=>[
             'fallback-filter'=>[
                 'geoip'=> true,
                 'geoip'=> true,
@@ -378,7 +378,7 @@ $_ENV['Surfboard_Profiles'] = [
         'Checks' => [],
         'Checks' => [],
         'General' => [
         'General' => [
             'loglevel'   => 'notify',
             'loglevel'   => 'notify',
-            'dns-server' => 'system, 119.29.29.29, 223.5.5.5',
+            'dns-server' => 'system, 119.29.29.29, 1.1.1.1',
             'skip-proxy' => '127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8, localhost, *.local, *.crashlytics.com',
             'skip-proxy' => '127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8, localhost, *.local, *.crashlytics.com',
         ],
         ],
         'Proxy' => [
         'Proxy' => [