Initial zh-CN document translation: DNS

This commit is contained in:
世界
2022-08-24 16:23:21 +08:00
parent a878256367
commit 03f457f3d0
16 changed files with 585 additions and 19 deletions

View File

@@ -0,0 +1,39 @@
# 引言
sing-box 使用 JSON 作为配置文件格式.
### 结构
```json
{
"log": {},
"dns": {},
"inbounds": {},
"outbounds": {},
"route": {},
"experimental": {}
}
```
### 字段
| Key | Format |
|----------------|-----------------------|
| `log` | [日志](./log) |
| `dns` | [DNS](./dns) |
| `inbounds` | [入站](./inbound) |
| `outbounds` | [出站](./outbound) |
| `route` | [路由](./route) |
| `experimental` | [实验性](./experimental) |
### 检查
```bash
$ sing-box check
```
### 格式化
```bash
$ sing-box format -w
```