Update README.md

This commit is contained in:
Loyalsoldier 2019-12-12 13:27:38 +08:00 committed by GitHub
parent 785049ff53
commit 85489ec3d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,9 +18,9 @@
### geosite.dat ### geosite.dat
- 通过仓库 [@v2ray/domain-list-community](https://github.com/v2ray/domain-list-community) 生成 - 通过仓库 [@v2ray/domain-list-community](https://github.com/v2ray/domain-list-community) 生成
- **优点**:由于项目每天自动构建,所以更新速度比官方 `geosite.dat` 要快得多。新增了 `gfwlist``chinalist` 两个类别: - **优点**:由于项目每天自动构建,所以更新速度比官方 `geosite.dat` 要快得多
- **加入最新 GFWList**:通过仓库 [@cokebar/gfwlist2dnsmasq](https://github.com/cokebar/gfwlist2dnsmasq) 生成 `gfwlist` 类别 - **加入大量中国大陆域名**:通过仓库 [@felixonmars/dnsmasq-china-list](https://github.com/felixonmars/dnsmasq-china-list) 生成 `chinalist` 类别域名并加入到 `geosite:cn` 类别中
- **加入大量中国大陆域名**:通过仓库 [@felixonmars/dnsmasq-china-list](https://github.com/felixonmars/dnsmasq-china-list) 生成 `chinalist` 类别 - **加入最新 GFWList**:通过仓库 [@cokebar/gfwlist2dnsmasq](https://github.com/cokebar/gfwlist2dnsmasq) 生成 `gfwlist` 类别域名并加入到 `geosite:geolocation-!cn` 类别中
## 使用方式 ## 使用方式
@ -29,7 +29,9 @@
### geoip.dat ### geoip.dat
跟 v2ray 官方 `geoip.dat` 配置方式相同: 跟 v2ray 官方 `geoip.dat` 配置方式相同。
routing 配置方式:
```json ```json
{ {
@ -50,9 +52,9 @@
### geosite.dat ### geosite.dat
跟 v2ray 官方 `geosite.dat` 配置方式相同,不同点在于:新增了 `gfwlist``chinalist` 两个类别 跟 v2ray 官方 `geosite.dat` 配置方式相同。
路由 routing 配置方式: routing 配置方式:
```json ```json
{ {
@ -69,16 +71,14 @@
"type": "field", "type": "field",
"outboundTag": "Proxy", "outboundTag": "Proxy",
"domain": [ "domain": [
"geosite:geolocation-!cn", "geosite:geolocation-!cn"
"geosite:gfwlist"
] ]
}, },
{ {
"type": "field", "type": "field",
"outboundTag": "Direct", "outboundTag": "Direct",
"domain": [ "domain": [
"geosite:cn", "geosite:cn"
"geosite:chinalist"
] ]
} }
] ]
@ -92,20 +92,18 @@ DNS 配置方式:
{ {
"dns": { "dns": {
"servers": [ "servers": [
{
"address": "114.114.114.114",
"port": 53,
"domains": [
"geosite:cn",
"geosite:chinalist"
]
},
{ {
"address": "1.1.1.1", "address": "1.1.1.1",
"port": 53, "port": 53,
"domains": [ "domains": [
"geosite:geolocation-!cn", "geosite:geolocation-!cn"
"geosite:gfwlist" ]
},
{
"address": "114.114.114.114",
"port": 53,
"domains": [
"geosite:cn"
] ]
}, },
"8.8.8.8", "8.8.8.8",