Skip to content

Commit

Permalink
docs: behavior changed on domain strategy (#331)
Browse files Browse the repository at this point in the history
Co-authored-by: Loyalsoldier <[email protected]>
  • Loading branch information
Sousa Chinensis and Loyalsoldier authored May 20, 2021
1 parent ced46b0 commit 881182a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/content/basic/full-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,11 @@ weight: 30

```domain_strategy```域名解析策略,默认"as_is"。合法的值有:

- "as_is",只在域名列表中进行匹配
- "as_is",只在各列表中的域名规则内进行匹配

- "ip_if_non_match",在域名列表中进行匹配,如果不匹配,解析为IP后在IP列表中匹配。该策略可能导致DNS泄漏或遭到污染。
- "ip_if_non_match",先在各列表中的域名规则内进行匹配;如果不匹配,则解析为IP后,在各列表中的IP地址规则内进行匹配。该策略可能导致DNS泄漏或遭到污染。

- "ip_on_demand",域名均解析为IP,在IP列表中匹配。该策略可能导致DNS泄漏或遭到污染。
- "ip_on_demand",先解析为IP,在各列表中的IP地址规则内进行匹配;如果不匹配,则在各列表中的域名规则内进行匹配。该策略可能导致DNS泄漏或遭到污染。

```geoip``````geosite```字段指geoip和geosite数据库文件路径,默认使用程序所在目录的geoip.dat和geosite.dat。也可以通过指定环境变量TROJAN_GO_LOCATION_ASSET指定工作目录。

Expand Down

0 comments on commit 881182a

Please sign in to comment.