Open rurirei opened 4 years ago
[DNS] Fake DNS
Fake DNS
app setting enabled and enjoy.
[DNS] DNS over HTTPS (with Local DNS)
// DoH server
dns: {
servers: [
{ address: "https://dns.google/dns-query" }
]
}
// dns outbound
{
tag: "dns",
"protocol": "dns",
"settings": {
"address": "8.8.8.8", // follow your preference
"port": 53, // defined with dns address above
"network": "udp", // change to "tcp" if udp-disallowed server
"proxySettings": {
"tag": "proxy"
}
}
// proxy outbound
{
tag: "proxy",
...
}
// routing
"ip": [
"8.8.8.8" // if follow your remote dns ip // Kitsunebi Rewrite does Google dns forced
],
"port": "53", // port 53 only, as do not change this
"network": "udp", // do not receive tcp
"type": "field",
"outboundTag": "dns"
}
[DNS] UDP over TCP (with Local DNS)
// dns server
dns: {
servers: [
{ address: "8.8.8.8" }
]
}
// dns outbound
{
tag: "dns",
"protocol": "dns",
"settings": {
"address": "8.8.8.8", // follow your preference
"port": 53, // defined with dns address above
"network": "tcp", // over TCP
"proxySettings": {
"tag": "proxy"
}
}
// proxy outbound
{
tag: "proxy",
...
}
// routing
"ip": [
"8.8.8.8" // if follow your remote dns ip // Kitsunebi Rewrite does Google dns forced
],
"port": "53", // port 53 only, as do not change this
"network": "udp", // do not receive tcp
"type": "field",
"outboundTag": "dns"
}
[DNS] what is Local DNS?
it is described to if control DNS locally (simply using routing
component, or other fully-controlled method (specified as dnsgw
inside Shadowsocks or v2rayNG)) before v2ray-core sent it to the remote.
// routing
"ip": [
"8.8.8.8" // if follow your remote dns ip // Kitsunebi Rewrite does Google dns forced
],
"port": "53", // port 53 only, as do not change this
"network": "udp", // do not receive tcp
"type": "field",
"outboundTag": ... // do your controller
}
[DNS] DNS Transport over TCP (aka. DNS Fallback) v2fly/v2ray-core#415
Fallback DNS
app setting enabled and enjoy.
preview is available at releases.
Here lists all of advanced features could be done.
Below all of committed by custom configuration of v2ray-core.
Configuration Docs: