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" } }