mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
fix docs
This commit is contained in:
parent
21a4aa755d
commit
479b84099c
@ -28,18 +28,18 @@ icon: material/alert-decagram
|
|||||||
The type of the DNS server.
|
The type of the DNS server.
|
||||||
|
|
||||||
| Type | Format |
|
| Type | Format |
|
||||||
|-----------------|-----------------------------------------------------|
|
|-----------------|-----------------------------|
|
||||||
| empty (default) | [Legacy](/configuration/dns/server/legacy/) |
|
| empty (default) | [Legacy](./legacy/) |
|
||||||
| `tcp` | [TCP](/configuration/dns/server/tcp/) |
|
| `tcp` | [TCP](./tcp/) |
|
||||||
| `udp` | [UDP](/configuration/dns/server/udp/) |
|
| `udp` | [UDP](./udp/) |
|
||||||
| `tls` | [TLS](/configuration/dns/server/tls/) |
|
| `tls` | [TLS](./tls/) |
|
||||||
| `https` | [HTTPS](/configuration/dns/server/https/) |
|
| `https` | [HTTPS](./https/) |
|
||||||
| `quic` | [QUIC](/configuration/dns/server/quic/) |
|
| `quic` | [QUIC](./quic/) |
|
||||||
| `h3` | [HTTP/3](/configuration/dns/server/http3/) |
|
| `h3` | [HTTP/3](./http3/) |
|
||||||
| `predefined` | [Predefined](/configuration/dns/server/predefined/) |
|
| `predefined` | [Predefined](./predefined/) |
|
||||||
| `dhcp` | [DHCP](/configuration/dns/server/dhcp/) |
|
| `dhcp` | [DHCP](./dhcp/) |
|
||||||
| `fakeip` | [Fake IP](/configuration/dns/server/fakeip/) |
|
| `fakeip` | [Fake IP](./fakeip/) |
|
||||||
|
| `tailscale` | [Tailscale](./tailscale/) |
|
||||||
|
|
||||||
#### tag
|
#### tag
|
||||||
|
|
||||||
|
46
docs/configuration/dns/server/index.zh.md
Normal file
46
docs/configuration/dns/server/index.zh.md
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
icon: material/alert-decagram
|
||||||
|
---
|
||||||
|
|
||||||
|
!!! quote "sing-box 1.12.0 中的更改"
|
||||||
|
|
||||||
|
:material-plus: [type](#type)
|
||||||
|
|
||||||
|
# DNS Server
|
||||||
|
|
||||||
|
### 结构
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"dns": {
|
||||||
|
"servers": [
|
||||||
|
{
|
||||||
|
"type": "",
|
||||||
|
"tag": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
#### type
|
||||||
|
|
||||||
|
DNS 服务器的类型。
|
||||||
|
|
||||||
|
| 类型 | 格式 |
|
||||||
|
|-----------------|-----------------------------|
|
||||||
|
| empty (default) | [Legacy](./legacy/) |
|
||||||
|
| `tcp` | [TCP](./tcp/) |
|
||||||
|
| `udp` | [UDP](./udp/) |
|
||||||
|
| `tls` | [TLS](./tls/) |
|
||||||
|
| `https` | [HTTPS](./https/) |
|
||||||
|
| `quic` | [QUIC](./quic/) |
|
||||||
|
| `h3` | [HTTP/3](./http3/) |
|
||||||
|
| `predefined` | [Predefined](./predefined/) |
|
||||||
|
| `dhcp` | [DHCP](./dhcp/) |
|
||||||
|
| `fakeip` | [Fake IP](./fakeip/) |
|
||||||
|
| `tailscale` | [Tailscale](./tailscale/) |
|
||||||
|
|
||||||
|
#### tag
|
||||||
|
|
||||||
|
DNS 服务器的标签。
|
Loading…
x
Reference in New Issue
Block a user