From 1353a432dcad880ab5ce1a11575fe37080c8e8d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Thu, 23 Mar 2023 19:08:48 +0800 Subject: [PATCH] Add dns reverse mapping --- docs/configuration/dns/index.md | 11 +++++++++-- docs/configuration/dns/index.zh.md | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/docs/configuration/dns/index.md b/docs/configuration/dns/index.md index f6889dd7..4f85942f 100644 --- a/docs/configuration/dns/index.md +++ b/docs/configuration/dns/index.md @@ -10,7 +10,8 @@ "final": "", "strategy": "", "disable_cache": false, - "disable_expire": false + "disable_expire": false, + "reverse_mapping": false } } @@ -43,4 +44,10 @@ Disable dns cache. #### disable_expire -Disable dns cache expire. \ No newline at end of file +Disable dns cache expire. + +#### reverse_mapping + +Stores a reverse mapping of IP addresses after responding to a DNS query in order to provide domain names when routing. + +Since this process relies on the act of resolving domain names by an application before making a request, it can be problematic in environments such as macOS, where DNS is proxied and cached by the system. diff --git a/docs/configuration/dns/index.zh.md b/docs/configuration/dns/index.zh.md index 234739d3..c721ed52 100644 --- a/docs/configuration/dns/index.zh.md +++ b/docs/configuration/dns/index.zh.md @@ -10,7 +10,8 @@ "final": "", "strategy": "", "disable_cache": false, - "disable_expire": false + "disable_expire": false, + "reverse_mapping": false } } @@ -43,4 +44,10 @@ #### disable_expire -禁用 DNS 缓存过期。 \ No newline at end of file +禁用 DNS 缓存过期。 + +#### reverse_mapping + +在响应 DNS 查询后存储 IP 地址的反向映射以为路由目的提供域名。 + +由于此过程依赖于应用程序在发出请求之前解析域名的行为,因此在 macOS 等 DNS 由系统代理和缓存的环境中可能会出现问题。