mirror of
https://github.com/Dichgrem/singbox-example.git
synced 2025-12-17 04:11:58 -05:00
chore:update_config
This commit is contained in:
210
config/client/2_dns.json
Normal file
210
config/client/2_dns.json
Normal file
@@ -0,0 +1,210 @@
|
||||
{
|
||||
"dns": {
|
||||
"servers": [
|
||||
{
|
||||
"tag": "dns_proxy",
|
||||
"address": "https://223.5.5.5/dns-query",
|
||||
"strategy": "ipv4_only",
|
||||
"address_resolver": "dns_resolver"
|
||||
},
|
||||
{
|
||||
"tag": "dns_direct",
|
||||
"address": "https://8.8.8.8/dns-query",
|
||||
"strategy": "ipv4_only",
|
||||
"address_resolver": "dns_resolver",
|
||||
"detour": "DIRECT"
|
||||
},
|
||||
{
|
||||
"tag": "dns_fakeip",
|
||||
"address": "fakeip"
|
||||
},
|
||||
{
|
||||
"tag": "dns_resolver",
|
||||
"address": "223.5.5.5",
|
||||
"detour": "DIRECT"
|
||||
},
|
||||
{
|
||||
"tag": "block",
|
||||
"address": "rcode://success"
|
||||
},
|
||||
{
|
||||
"tag": "local",
|
||||
"address": "local",
|
||||
"detour": "DIRECT"
|
||||
}
|
||||
],
|
||||
"rules": [
|
||||
{
|
||||
"outbound": [
|
||||
"any"
|
||||
],
|
||||
"server": "dns_direct"
|
||||
},
|
||||
{
|
||||
"clash_mode": "Global",
|
||||
"server": "dns_fakeip",
|
||||
"rewrite_ttl": 1
|
||||
},
|
||||
{
|
||||
"clash_mode": "Direct",
|
||||
"server": "dns_direct"
|
||||
},
|
||||
{
|
||||
"domain": [
|
||||
"time-ios.apple.com",
|
||||
"time1.cloud.tencent.com",
|
||||
"music.163.com",
|
||||
"musicapi.taihe.com",
|
||||
"music.taihe.com",
|
||||
"songsearch.kugou.com",
|
||||
"trackercdn.kugou.com",
|
||||
"api-jooxtt.sanook.com",
|
||||
"api.joox.com",
|
||||
"joox.com",
|
||||
"y.qq.com",
|
||||
"streamoc.music.tc.qq.com",
|
||||
"mobileoc.music.tc.qq.com",
|
||||
"isure.stream.qqmusic.qq.com",
|
||||
"dl.stream.qqmusic.qq.com",
|
||||
"aqqmusic.tc.qq.com",
|
||||
"amobile.music.tc.qq.com",
|
||||
"music.migu.cn",
|
||||
"localhost.ptlogin2.qq.com",
|
||||
"localhost.sec.qq.com",
|
||||
"xnotify.xboxlive.com",
|
||||
"proxy.golang.org",
|
||||
"heartbeat.belkin.com",
|
||||
"mesu.apple.com",
|
||||
"swscan.apple.com",
|
||||
"swquery.apple.com",
|
||||
"swdownload.apple.com",
|
||||
"swcdn.apple.com",
|
||||
"swdist.apple.com",
|
||||
"lens.l.google.com",
|
||||
"stun.l.google.com",
|
||||
"na.b.g-tun.com",
|
||||
"ff.dorado.sdo.com",
|
||||
"shark007.net",
|
||||
"adguardteam.github.io",
|
||||
"adrules.top",
|
||||
"anti-ad.net",
|
||||
"local.adguard.org",
|
||||
"static.adtidy.org",
|
||||
"ps.res.netease.com"
|
||||
],
|
||||
"server": "dns_direct"
|
||||
},
|
||||
{
|
||||
"domain_suffix": [
|
||||
"lan",
|
||||
"localdomain",
|
||||
"example",
|
||||
"invalid",
|
||||
"localhost",
|
||||
"test",
|
||||
"local",
|
||||
"home.arpa",
|
||||
"direct",
|
||||
"time.edu.cn",
|
||||
"ntp.org.cn",
|
||||
"pool.ntp.org",
|
||||
"music.163.com",
|
||||
"126.net",
|
||||
"kuwo.cn",
|
||||
"y.qq.com",
|
||||
"xiami.com",
|
||||
"music.migu.cn",
|
||||
"msftconnecttest.com",
|
||||
"msftncsi.com",
|
||||
"steamcontent.com",
|
||||
"srv.nintendo.net",
|
||||
"n.n.srv.nintendo.net",
|
||||
"cdn.nintendo.net",
|
||||
"stun.playstation.net",
|
||||
"battle.net",
|
||||
"battlenet.com.cn",
|
||||
"wotgame.cn",
|
||||
"wggames.cn",
|
||||
"wowsgame.cn",
|
||||
"wargaming.net",
|
||||
"linksys.com",
|
||||
"linksyssmartwifi.com",
|
||||
"router.asus.com",
|
||||
"nflxvideo.net",
|
||||
"square-enix.com",
|
||||
"finalfantasyxiv.com",
|
||||
"ffxiv.com",
|
||||
"ff14.sdo.com",
|
||||
"mcdn.bilivideo.cn",
|
||||
"media.dssott.com",
|
||||
"market.xiaomi.com",
|
||||
"cmbchina.com",
|
||||
"cmbimg.com",
|
||||
"sandai.net",
|
||||
"n0808.com",
|
||||
"3gppnetwork.org",
|
||||
"uu.163.com",
|
||||
"oray.com",
|
||||
"orayimg.com",
|
||||
"gcloudcs.com",
|
||||
"gcloudsdk.com"
|
||||
],
|
||||
"server": "dns_direct"
|
||||
},
|
||||
{
|
||||
"domain_regex": [
|
||||
"time.*.com",
|
||||
"time.*.gov",
|
||||
"time.*.edu.cn",
|
||||
"time.*.apple.com",
|
||||
"time1.*.com",
|
||||
"time2.*.com",
|
||||
"time3.*.com",
|
||||
"time4.*.com",
|
||||
"time5.*.com",
|
||||
"time6.*.com",
|
||||
"time7.*.com",
|
||||
"ntp.*.com",
|
||||
"ntp1.*.com",
|
||||
"ntp2.*.com",
|
||||
"ntp3.*.com",
|
||||
"ntp4.*.com",
|
||||
"ntp5.*.com",
|
||||
"ntp6.*.com",
|
||||
"ntp7.*.com",
|
||||
"localhost.*.weixin.qq.com",
|
||||
"xbox.*.*.microsoft.com",
|
||||
".*.*.xboxlive.com",
|
||||
"xbox.*.microsoft.com",
|
||||
"stun.*.*",
|
||||
"stun.*.*.*",
|
||||
".+.stun.*.*",
|
||||
".+.stun.*.*.*",
|
||||
".+.stun.*.*.*.*",
|
||||
".+.stun.*.*.*.*.*"
|
||||
],
|
||||
"server": "dns_direct"
|
||||
},
|
||||
{
|
||||
"geosite": "cn",
|
||||
"server": "dns_direct"
|
||||
},
|
||||
{
|
||||
"query_type": [
|
||||
"A",
|
||||
"AAAA"
|
||||
],
|
||||
"server": "dns_fakeip",
|
||||
"rewrite_ttl": 1
|
||||
}
|
||||
],
|
||||
"final": "dns_proxy",
|
||||
"independent_cache": true,
|
||||
"reverse_mapping": true,
|
||||
"fakeip": {
|
||||
"enabled": true,
|
||||
"inet4_range": "198.18.0.0/16",
|
||||
"inet6_range": "fc00::/16"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user