mirror of
https://github.com/daeuniverse/dae.git
synced 2025-03-13 03:22:51 +07:00
docs: update dial_mode
This commit is contained in:
parent
f061ca7884
commit
94275c06ad
@ -48,7 +48,7 @@ var GlobalDesc = Desc{
|
||||
"dial_mode": `Optional values of dial_mode are:
|
||||
1. "ip". Dial proxy using the IP from DNS directly. This allows your ipv4, ipv6 to choose the optimal path respectively, and makes the IP version requested by the application meet expectations. For example, if you use curl -4 ip.sb, you will request IPv4 via proxy and get a IPv4 echo. And curl -6 ip.sb will request IPv6. This may solve some wierd full-cone problem if your are be your node support that.
|
||||
2. "domain". Dial proxy using the domain from sniffing. This will relieve DNS pollution problem to a great extent if have impure DNS environment. Generally, this mode brings faster proxy response time because proxy will re-resolve the domain in remote, thus get better IP result to connect. This policy does not impact routing. That is to say, domain rewrite will be after traffic split of routing and dae will not re-route it.
|
||||
3. "domain+". Based on domain mode but do not check the authenticity of sniffing result. It is useful for users whose DNS requests do not go through dae but want faster proxy response time. Notice that, if DNS requests do not go through dae, dae cannot split traffic by domain.`,
|
||||
3. "domain+". Based on domain mode but do not check the reality of sniffed domain. It is useful for users whose DNS requests do not go through dae but want faster proxy response time. Notice that, if DNS requests do not go through dae, dae cannot split traffic by domain`,
|
||||
}
|
||||
|
||||
var DnsDesc = Desc{
|
||||
|
@ -41,9 +41,9 @@ global {
|
||||
# if have impure DNS environment. Generally, this mode brings faster proxy response time because proxy will
|
||||
# re-resolve the domain in remote, thus get better IP result to connect. This policy does not impact routing.
|
||||
# That is to say, domain rewrite will be after traffic split of routing and dae will not re-route it.
|
||||
# 3. "domain+". Based on domain mode but do not check the authenticity of sniffing result. It is useful for users
|
||||
# whose DNS requests do not go through dae but want faster proxy response time. Notice that, if DNS requests
|
||||
# do not go through dae, dae cannot split traffic by domain.
|
||||
# 3. "domain+". Based on domain mode but do not check the reality of sniffed domain. It is useful for users whose
|
||||
# DNS requests do not go through dae but want faster proxy response time. Notice that, if DNS requests do not
|
||||
# go through dae, dae cannot split traffic by domain.
|
||||
dial_mode: domain
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user