Add log and dns documentation

This commit is contained in:
世界
2022-07-08 17:01:38 +08:00
parent 3699a57847
commit d6d02b9924
13 changed files with 442 additions and 1 deletions

View File

@@ -0,0 +1,37 @@
# Introduction
sing-box uses JSON for configuration files.
### Structure
```json
{
"log": {},
"dns": {},
"inbounds": {},
"outbounds": {},
"route": {}
}
```
### Fields
| Key | Format |
|-------------|------------------------|
| `log` | [Log](./log) |
| `dns` | [DNS](./dns) |
| `inbounds` | [Inbound](./inbound) |
| `outbounds` | [Outbound](./outbound) |
| `route` | [Route](./route) |
### Check
```bash
$ sing-box check
```
### Format
```bash
$ sing-box format -w
```