Skip to content

Commit

Permalink
docs(dns): add docs for daeuniverse#649
Browse files Browse the repository at this point in the history
  • Loading branch information
EkkoG committed Nov 2, 2024
1 parent bfc17c3 commit f2413ac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
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

0 comments on commit f2413ac

Please sign in to comment.