@
yinft 网上有 dns 解决方案,比较便宜,一月 10 来块。要改默认配置:
{
"api": {
"services": [
"HandlerService",
"LoggerService",
"StatsService"
],
"tag": "api"
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
},
"tag": "api"
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {"domainStrategy": "UseIP"}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"policy": {
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"rules": [
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
}
]
}, "dns": {
"servers": [
"1.1.1.1","8.8.8.8",
{
"address": "4.4.4.4 (以实际为准)",
"port": 53,
"domains": [
"geosite:netflix"
]
}
]
},
"stats": {}
}
说要改成这样。我吧确定会不会影响别的服务,有没有安全隐患。如果可以这是个实惠的方案。