diff --git a/docs/configuration.md b/docs/configuration.md index 5718a8c0fc..7a536ff824 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -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/
certs/ca-certificates.crt | 合法路径字符串 | ca-file /etc/ssl/certs/ca-certificates.crt | | ca-path | 证书文件路径 | /etc/ssl/certs | 合法路径字符串 | ca-path /etc/ssl/certs | diff --git a/docs/index.md b/docs/index.md index f425b50abc..2ebe03a18f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -17,7 +17,7 @@ SmartDNS 同时支持指定特定域名 IP 地址,并高性匹配,可达到 ## 特性 -1. **多虚拟DNS服务器** +1. **多虚拟DNS服务器** 支持多个虚拟DNS服务器,不同虚拟DNS服务器不同的端口,规则,客户端。 1. **多 DNS 上游服务器** diff --git a/en/docs/configuration.md b/en/docs/configuration.md index cf90da224e..0536bc1039 100644 --- a/en/docs/configuration.md +++ b/en/docs/configuration.md @@ -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/
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