Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(dns): add docs for #649 #687

Merged
merged 6 commits into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/en/configuration/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ dns {

upstream {
# Value can be scheme://host:port.
# Scheme list: tcp, udp, tcp+udp. Ongoing: https, tls, quic.
# Scheme list: tcp, udp, tcp+udp, https, tls, http3, h3, quic.
# If the protocol is h3/http3/https, it supports setting a custom path, that is, the format can be "protocol://host:port/custom path".
# If host is a domain and has both IPv4 and IPv6 record, dae will automatically choose
# IPv4 or IPv6 to use according to group policy (such as min latency policy).
# Please make sure DNS traffic will go through and be forwarded by dae, which is REQUIRED for domain routing.
Expand Down
3 changes: 2 additions & 1 deletion docs/zh/configuration/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ dns {

upstream {
# 格式为“协议://主机:端口”
# 支持协议:tcp, udp, tcp+udp(对于https, tls, quic的支持孵化中)。
# 支持协议:tcp, udp, tcp+udp, https, tls, http3, h3, quic.
# 如果协议是 h3/http3/https,支持设置自定义路径,即格式可以是“协议://主机:端口/自定义路径”
# 若主机为域名且具有 A 和 AAAA 记录,dae 自动选择 IPv4 或 IPv6 进行连接,
# 是否走代理取决于全局的 routing(不是下面 dns 配置部分的 routing),节点选择取决于 group 的策略。
# 请确保DNS流量经过dae且由dae转发,按域名分流需要如此!
Expand Down
3 changes: 2 additions & 1 deletion example.dae
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ dns {
#}

upstream {
# Value can be scheme://host:port, where the scheme can be tcp/udp/tcp+udp.
# Value can be scheme://host:port, where the scheme can be tcp/udp/tcp+udp/h3/http3/quic/https/tls.
# If the protocol is h3/http3/https, it supports setting a custom path, that is, the format can be "protocol://host:port/custom path".
# If host is a domain and has both IPv4 and IPv6 record, dae will automatically choose
# IPv4 or IPv6 to use according to group policy (such as min latency policy).
# Please make sure DNS traffic will go through and be forwarded by dae, which is REQUIRED for domain routing.
Expand Down