From 670863fd5b013b9af43663aba1979890d65de74f Mon Sep 17 00:00:00 2001 From: reletor <191429954+reletor@users.noreply.github.com> Date: Sat, 19 Apr 2025 15:39:39 +0800 Subject: [PATCH] documentation: Minor fixes --- docs/configuration/dns/server/index.md | 27 ++++++++++++----------- docs/configuration/dns/server/index.zh.md | 27 ++++++++++++----------- docs/configuration/route/sniff.zh.md | 4 ++-- docs/migration.md | 8 ++++--- docs/migration.zh.md | 8 ++++--- 5 files changed, 40 insertions(+), 34 deletions(-) diff --git a/docs/configuration/dns/server/index.md b/docs/configuration/dns/server/index.md index 0dae05c3..706eb54f 100644 --- a/docs/configuration/dns/server/index.md +++ b/docs/configuration/dns/server/index.md @@ -27,19 +27,20 @@ icon: material/alert-decagram The type of the DNS server. -| Type | Format | -|-----------------|-----------------------------| -| 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/) | +| Type | Format | +|-----------------|---------------------------| +| empty (default) | [Legacy](./legacy/) | +| `local` | [Local](./local/) | +| `hosts` | [Hosts](./hosts/) | +| `tcp` | [TCP](./tcp/) | +| `udp` | [UDP](./udp/) | +| `tls` | [TLS](./tls/) | +| `quic` | [QUIC](./quic/) | +| `https` | [HTTPS](./https/) | +| `h3` | [HTTP/3](./http3/) | +| `dhcp` | [DHCP](./dhcp/) | +| `fakeip` | [Fake IP](./fakeip/) | +| `tailscale` | [Tailscale](./tailscale/) | #### tag diff --git a/docs/configuration/dns/server/index.zh.md b/docs/configuration/dns/server/index.zh.md index 2ad99502..61977c67 100644 --- a/docs/configuration/dns/server/index.zh.md +++ b/docs/configuration/dns/server/index.zh.md @@ -27,19 +27,20 @@ icon: material/alert-decagram 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/) | +| 类型 | 格式 | +|-----------------|---------------------------| +| empty (default) | [Legacy](./legacy/) | +| `local` | [Local](./local/) | +| `hosts` | [Hosts](./hosts/) | +| `tcp` | [TCP](./tcp/) | +| `udp` | [UDP](./udp/) | +| `tls` | [TLS](./tls/) | +| `quic` | [QUIC](./quic/) | +| `https` | [HTTPS](./https/) | +| `h3` | [HTTP/3](./http3/) | +| `dhcp` | [DHCP](./dhcp/) | +| `fakeip` | [Fake IP](./fakeip/) | +| `tailscale` | [Tailscale](./tailscale/) | #### tag diff --git a/docs/configuration/route/sniff.zh.md b/docs/configuration/route/sniff.zh.md index 546210c8..8cb9488f 100644 --- a/docs/configuration/route/sniff.zh.md +++ b/docs/configuration/route/sniff.zh.md @@ -26,7 +26,7 @@ | QUIC 客户端 | 类型 | |:------------------------:|:----------:| -| Chromium/Cronet | `chrimium` | +| Chromium/Cronet | `chromium` | | Safari/Apple Network API | `safari` | | Firefox / uquic firefox | `firefox` | -| quic-go / uquic chrome | `quic-go` | \ No newline at end of file +| quic-go / uquic chrome | `quic-go` | diff --git a/docs/migration.md b/docs/migration.md index ca50a70a..50a0655f 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -292,7 +292,7 @@ DNS servers are refactored for better performance and scalability. } ], "fakeip": { - "enable": true, + "enabled": true, "inet4_range": "198.18.0.0/15", "inet6_range": "fc00::/18" } @@ -556,7 +556,8 @@ The legacy outbound DNS rules are deprecated and can be replaced by new domain r "dns": { "servers": [ { - "type": "local" + "type": "local", + "tag": "local" } ] }, @@ -619,7 +620,8 @@ some people mistakenly believe that `domain_strategy` is the same feature as in "dns": { "servers": [ { - "type": "local" + "type": "local", + "tag": "local" } ] }, diff --git a/docs/migration.zh.md b/docs/migration.zh.md index a2779e23..255b7069 100644 --- a/docs/migration.zh.md +++ b/docs/migration.zh.md @@ -292,7 +292,7 @@ DNS 服务器已经重构。 } ], "fakeip": { - "enable": true, + "enabled": true, "inet4_range": "198.18.0.0/15", "inet6_range": "fc00::/18" } @@ -556,7 +556,8 @@ DNS 服务器已经重构。 "dns": { "servers": [ { - "type": "local" + "type": "local", + "tag": "local" } ] }, @@ -618,7 +619,8 @@ DNS 服务器已经重构。 "dns": { "servers": [ { - "type": "local" + "type": "local", + "tag": "local" } ] },