Skip to content

Commit

Permalink
Merge pull request #91 from hezhijie0327/dnscache
Browse files Browse the repository at this point in the history
Dnscache
  • Loading branch information
hezhijie0327 committed May 14, 2024
2 parents 67b7de6 + 834be1a commit d8cc580
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 6 deletions.
8 changes: 7 additions & 1 deletion v2ray/client_trojan.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
"access": "none",
"loglevel": "info"
},
"dns": { "servers": [ { "address": "127.0.0.1", "port": 53 } ] },
"dns": {
"disableCache": true,
"disableFallback": true,
"servers": [
{ "address": "127.0.0.1", "port": 53 }
]
},
"routing": {
"domainMatcher": "mph",
"domainStrategy": "IPOnDemand",
Expand Down
8 changes: 7 additions & 1 deletion v2ray/client_vless.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
"access": "none",
"loglevel": "info"
},
"dns": { "servers": [ { "address": "127.0.0.1", "port": 53 } ] },
"dns": {
"disableCache": true,
"disableFallback": true,
"servers": [
{ "address": "127.0.0.1", "port": 53 }
]
},
"routing": {
"domainMatcher": "mph",
"domainStrategy": "IPOnDemand",
Expand Down
8 changes: 7 additions & 1 deletion v2ray/client_vmess.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
"access": "none",
"loglevel": "info"
},
"dns": { "servers": [ { "address": "127.0.0.1", "port": 53 } ] },
"dns": {
"disableCache": true,
"disableFallback": true,
"servers": [
{ "address": "127.0.0.1", "port": 53 }
]
},
"routing": {
"domainMatcher": "mph",
"domainStrategy": "IPOnDemand",
Expand Down
8 changes: 7 additions & 1 deletion v2ray/server_trojan.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
"access": "none",
"loglevel": "info"
},
"dns": { "servers": [ { "address": "127.0.0.1", "port": 53 } ] },
"dns": {
"disableCache": true,
"disableFallback": true,
"servers": [
{ "address": "127.0.0.1", "port": 53 }
]
},
"routing": {
"domainMatcher": "mph",
"domainStrategy": "IPOnDemand",
Expand Down
8 changes: 7 additions & 1 deletion v2ray/server_vless.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
"access": "none",
"loglevel": "info"
},
"dns": { "servers": [ { "address": "127.0.0.1", "port": 53 } ] },
"dns": {
"disableCache": true,
"disableFallback": true,
"servers": [
{ "address": "127.0.0.1", "port": 53 }
]
},
"routing": {
"domainMatcher": "mph",
"domainStrategy": "IPOnDemand",
Expand Down
8 changes: 7 additions & 1 deletion v2ray/server_vmess.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
"access": "none",
"loglevel": "info"
},
"dns": { "servers": [ { "address": "127.0.0.1", "port": 53 } ] },
"dns": {
"disableCache": true,
"disableFallback": true,
"servers": [
{ "address": "127.0.0.1", "port": 53 }
]
},
"routing": {
"domainMatcher": "mph",
"domainStrategy": "IPOnDemand",
Expand Down

0 comments on commit d8cc580

Please sign in to comment.