From 23890ee5cb38150f1683fdd16bb55bf5af1204a2 Mon Sep 17 00:00:00 2001 From: mzz <2017@duck.com> Date: Sun, 26 Mar 2023 03:14:55 +0800 Subject: [PATCH] Update README_zh.md --- docs/getting-started/README_zh.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/getting-started/README_zh.md b/docs/getting-started/README_zh.md index 826df3d..8c69173 100644 --- a/docs/getting-started/README_zh.md +++ b/docs/getting-started/README_zh.md @@ -157,6 +157,22 @@ routing { } ``` +如果你不在乎极致速度,而是更注重隐私和 DNS 泄露,使用以下配置替换上述的 dns 部分: +```shell +dns { + upstream { + googledns: 'tcp+udp://dns.google:53' + alidns: 'udp://dns.alidns.com:53' + } + routing { + request { + qname(geosite:cn) -> alidns + fallback: googledns + } + } +} +``` + 完整样例:[example.dae](https://github.com/daeuniverse/dae/blob/main/example.dae)。 如果你使用 PVE,可以参考 [#37](https://github.com/daeuniverse/dae/discussions/37)。