daeuniverse / dae

eBPF-based Linux high-performance transparent proxy solution.
GNU Affero General Public License v3.0
3k stars 189 forks source link

[Enhancement] DNS增加hosts映射 #597

Open Moexin opened 1 month ago

Moexin commented 1 month ago

Improvement Suggestion

希望增加一个类似于DNS重写功能,可以参考mihomo的host,方便域名内网直接用内网ip访问。或者方便web调试。

Potential Benefits

希望增加一个类似于DNS重写功能,可以参考mihomo的host,方便域名内网直接用内网ip访问。或者方便web调试。

dae-prow[bot] commented 1 month ago

Thanks for opening this issue!

Moexin commented 1 month ago

通俗点来讲有一个域名 test.domain.com 通过 223.5.5.5 能查询出 A:1.1.1.1 AAAA:2400:3200::1 记录,希望通过dae的dns模块,查询到类似于 test.domain.com: 192.168.1.123配置内容存在。则返回test.domain.com A:192.168.1.123的记录响应。

wanlce commented 1 month ago

https://github.com/daeuniverse/dae/issues/567