mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-28 18:08:01 +03:00
Add or renamed to json in codeblock (#748)
and sth Co-authored-by: Meow <197331664+Meo597@users.noreply.github.com>
This commit is contained in:
@@ -150,7 +150,7 @@ You can specify `clientIp` for all DNS servers in [DnsObject](#dnsobject), or sp
|
||||
|
||||
Xray-core v1.8.6 New feature: `queryStrategy` can be set separately for each `DNS` server.
|
||||
|
||||
```jsonc
|
||||
```json
|
||||
"dns": {
|
||||
"servers": [
|
||||
"https://1.1.1.1/dns-query",
|
||||
@@ -178,7 +178,7 @@ Xray-core v1.8.6 New feature: `queryStrategy` can be set separately for each `DN
|
||||
**NOTE:**<br>
|
||||
When the `"queryStrategy"` value in the child item conflicts with the global `"queryStrategy"` value, the query for the child item will respond null.
|
||||
|
||||
```jsonc
|
||||
```json
|
||||
"dns": {
|
||||
"servers": [
|
||||
"https://1.1.1.1/dns-query",
|
||||
|
||||
@@ -20,7 +20,7 @@ This tag can be used as `inboundTag` in routing rules, all traffics going throug
|
||||
|
||||
If you need to do some more detailed routing for traffics that have been routed by routing rules, like splitting routed traffics to TCP traffics and UDP traffics and send them to different outbounds, this can be done with `loopback` outbound.
|
||||
|
||||
```jsonc
|
||||
```json
|
||||
{
|
||||
"outbounds": [
|
||||
{
|
||||
|
||||
@@ -84,7 +84,7 @@ When the destination address is a domain name, use the Xray-core [built-in DNS s
|
||||
- Conflicts with `"queryStrategy"` may cause the site to fail to open.
|
||||
- For example when `domainStrategy: "ForceIPv4"` is used, geosite:openai's site with `"queryStrategy": "UseIPv6"` will fail to open.
|
||||
|
||||
```jsonc
|
||||
```json
|
||||
"dns": {
|
||||
"servers": [
|
||||
"https://1.1.1.1/dns-query",
|
||||
|
||||
@@ -104,7 +104,7 @@ WantedBy=multi-user.target
|
||||
|
||||
服务端 xray 配置
|
||||
|
||||
```
|
||||
```json
|
||||
{
|
||||
"log": {
|
||||
"loglevel": "none"
|
||||
@@ -143,7 +143,7 @@ WantedBy=multi-user.target
|
||||
|
||||
客户端 xray 配置,此处以旁路由透明代理为例
|
||||
|
||||
```
|
||||
```json
|
||||
{
|
||||
"log": {
|
||||
"loglevel": "none"
|
||||
|
||||
Reference in New Issue
Block a user