Skip to content

Commit

Permalink
Sing-Box dns update
Browse files Browse the repository at this point in the history
  • Loading branch information
77-QiQi committed Sep 15, 2024
1 parent cbeec01 commit ada0dcb
Showing 1 changed file with 11 additions and 25 deletions.
36 changes: 11 additions & 25 deletions config/appprofile.example.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,17 @@
'detour' => 'direct',
],
[
'tag' => 'proxy-v6',
'address' => 'tls://[2606:4700:4700::1111]',
'strategy' => 'prefer_ipv6',
'detour' => 'select',
'tag' => 'resolver',
'address' => 'quic://223.6.6.6',
'strategy' => 'ipv4_only',
'detour' => 'direct',
],
[
'tag' => 'proxy-v4',
'address' => 'tls://1.1.1.1',
'strategy' => 'prefer_ipv4',
'tag' => 'cloudflare',
'address' => 'tls://one.one.one.one',
'address_resolver' => 'resolver',
'address_strategy' => 'ipv4_only',
'strategy' => 'prefer_ipv6',
'detour' => 'select',
],
[
Expand All @@ -80,26 +82,18 @@
],
[
'clash_mode' => 'Global',
'server' => 'proxy-v4',
],
[
'clash_mode' => 'Global-v6',
'server' => 'proxy-v6',
'server' => 'cloudflare',
],
[
'rule_set' => 'geosite-cn',
'server' => 'local',
],
[
'clash_mode' => 'Rule-v6',
'server' => 'proxy-v6',
],
[
'clash_mode' => 'Direct',
'server' => 'local',
],
],
'final' => 'proxy-v4',
'final' => 'cloudflare',
'disable_cache' => true,
'independent_cache' => true,
],
Expand Down Expand Up @@ -166,21 +160,13 @@
'clash_mode' => 'Global',
'outbound' => 'select',
],
[
'clash_mode' => 'Global-v6',
'outbound' => 'select',
],
[
'rule_set' => [
'geosite-cn',
'geoip-cn',
],
'outbound' => 'direct',
],
[
'clash_mode' => 'Rule-v6',
'outbound' => 'select',
],
[
'protocol' => 'stun',
'outbound' => 'block',
Expand Down

0 comments on commit ada0dcb

Please sign in to comment.