Skip to content

Commit

Permalink
update security pages
Browse files Browse the repository at this point in the history
  • Loading branch information
pymumu committed Nov 2, 2023
1 parent e5e5c99 commit 363be0f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
11 changes: 11 additions & 0 deletions docs/config/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,14 @@ user nobody
```shell
bind-tls [::]:853@eth0
```

## 启用审计日志

smartdns可以通过如下配置,启用审计日志,记录DNS查询请求

```
audit-enable yes
audit-num 16
audit-size 16M
audit-file /var/log/smartdns/smartdns-audit.log
```
2 changes: 1 addition & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ force-qtype-SOA 65

## 为什么smartdns会返回多个IP

SmartDNS在早期版本,只会返回一个IP地址,这一个IP地址速度时最快的,这对游戏,浏览器都很好,但对于一些视频播放软件,下载软件则不太友好。这些软件需要更多好的IP地址。
SmartDNS在早期版本,只会返回一个IP地址,这一个IP地址速度是最快的,这对游戏,浏览器都很好,但对于一些视频播放软件,下载软件则不太友好。这些软件需要更多好的IP地址。

所以,smartdns从37开始,支持返回多个优选的IP地址,这些优选的IP地址原则是:

Expand Down
11 changes: 11 additions & 0 deletions en/docs/config/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,14 @@ Provide services to outside world through a TLS server
```shell
bind-tls [::]:853@eth0
```

## Enable Audit Logging

SmartDNS can enable audit logging to record DNS query requests with the following configuration:

```
audit-enable yes
audit-num 16
audit-size 16M
audit-file /var/log/smartdns/smartdns-audit.log
```

0 comments on commit 363be0f

Please sign in to comment.