Skip to content

Commit

Permalink
add some options.
Browse files Browse the repository at this point in the history
  • Loading branch information
pymumu committed Jan 26, 2024
1 parent 3f826da commit df6a81d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ hide:
| serve-expired-prefetch-time | 过期缓存预查询时间 | 28800 | 秒,到达对应超时时间后预查询时间 | serve-expired-prefetch-time 86400 |
| dualstack-ip-selection | 双栈 IP 优选 | yes | [yes\|no] | dualstack-ip-selection yes |
| dualstack-ip-selection-threshold | 双栈 IP 优选阈值 | 10ms | 单位为毫秒(ms) | dualstack-ip-selection-threshold [0-1000] |
| no-pidfile|不创建PID文件 | no | [yes\|no] | no-pidfile yes
| no-daemon|以前台方式运行程序 | no | [yes\|no] | no-daemon yes
| restart-on-crash|进程异常时自动重启| no | [yes\|no] | restart-on-crash yes
| socket-buff-size|套接字缓存大小 | size | 0~1MB | socket-buff-size 256K
| user | 进程运行用户 | root | user [username] | user nobody |
| ca-file | 证书文件 | /etc/ssl/<br />certs/ca-certificates.crt | 合法路径字符串 | ca-file /etc/ssl/certs/ca-certificates.crt |
| ca-path | 证书文件路径 | /etc/ssl/certs | 合法路径字符串 | ca-path /etc/ssl/certs |
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SmartDNS 同时支持指定特定域名 IP 地址,并高性匹配,可达到

## 特性

1. **多虚拟DNS服务器**
1. **多虚拟DNS服务器**
支持多个虚拟DNS服务器,不同虚拟DNS服务器不同的端口,规则,客户端。

1. **多 DNS 上游服务器**
Expand Down
4 changes: 4 additions & 0 deletions en/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ hide:
|serve-expired-prefetch-time| Prefetch time when serve expired | 28800 | second,prefetch time | serve-expired-prefetch-time 86400 |
|dualstack-ip-selection|Dualstack ip selection|yes|[yes\|no]|dualstack-ip-selection yes
|dualstack-ip-selection-threshold|Dualstack ip select thresholds|10ms|millisecond|dualstack-ip-selection-threshold [0-1000]
|no-pidfile|no create pid file | no | [yes\|no] | no-pidfile yes
|no-daemon|no run as daemon | no | [yes\|no] | no-daemon yes
|restart-on-crash|restart when service crash | no | [yes\|no] | restart-on-crash yes
|socket-buff-size|socket buffer size | size | 0~1MB | socket-buff-size 256K
|user|run as user|root|user [username]|user nobody
|ca-file|certificate file|/etc/ssl/certs/<br />ca-certificates.crt|path|ca-file /etc/ssl/certs/ca-certificates.crt
|ca-path|certificates path|/etc/ssl/certs|path|ca-path /etc/ssl/certs
Expand Down

0 comments on commit df6a81d

Please sign in to comment.