From 9e8debd4c9f1af18e6ea7a8ea27d088bf918456a Mon Sep 17 00:00:00 2001 From: Restia-Ashbell <107416976+Restia-Ashbell@users.noreply.github.com> Date: Mon, 10 Mar 2025 14:17:06 +0800 Subject: [PATCH] documentation: Fix typo --- docs/migration.md | 4 ++-- docs/migration.zh.md | 12 ++++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/migration.md b/docs/migration.md index 62e09e71..895f48f1 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -567,7 +567,7 @@ The legacy outbound DNS rules are deprecated and can be replaced by new domain r "server_port": 2080, "domain_resolver": { "server": "local", - "rewrite_tll": 60, + "rewrite_ttl": 60, "client_subnet": "1.1.1.1" }, // or "domain_resolver": "local", @@ -579,7 +579,7 @@ The legacy outbound DNS rules are deprecated and can be replaced by new domain r "route": { "default_domain_resolver": { "server": "local", - "rewrite_tll": 60, + "rewrite_ttl": 60, "client_subnet": "1.1.1.1" } } diff --git a/docs/migration.zh.md b/docs/migration.zh.md index 12044669..f82f2521 100644 --- a/docs/migration.zh.md +++ b/docs/migration.zh.md @@ -565,13 +565,21 @@ DNS 服务器已经重构。 "type": "socks", "server": "example.org", "server_port": 2080, - "domain_resolver": "local", + "domain_resolver": { + "server": "local", + "rewrite_ttl": 60, + "client_subnet": "1.1.1.1" + }, + // 或 "domain_resolver": "local", } ], + + // 或 + "route": { "default_domain_resolver": { "server": "local", - "rewrite_tll": 60, + "rewrite_ttl": 60, "client_subnet": "1.1.1.1" } }