update document for new options.
This commit is contained in:
@@ -37,6 +37,19 @@ smartdns可以通过address选项来屏蔽广告。
|
||||
address /sub.example.com/-
|
||||
```
|
||||
|
||||
1. 前缀通配与主域名匹配
|
||||
|
||||
```shell
|
||||
// 通配
|
||||
*-a.example.com
|
||||
// 仅匹配子域名
|
||||
*.example.com
|
||||
// 仅匹配主域名
|
||||
-.example.com
|
||||
```
|
||||
|
||||
注意:* 和 - 仅支持写在域名开头。其他位置的写法均不支持。
|
||||
|
||||
## 使用域名集合
|
||||
|
||||
对于单个域名屏蔽,可以方便使用address参数屏蔽,对于较多的域名,可通过域名集合屏蔽,更加方便管理广告域名列表。
|
||||
|
||||
Reference in New Issue
Block a user