diff --git a/autoXRAY.sh b/autoXRAY.sh index 26dc46a..2748ed8 100644 --- a/autoXRAY.sh +++ b/autoXRAY.sh @@ -50,7 +50,8 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "https+local://8.8.8.8/dns-query", "https+local://1.1.1.1/dns-query", "localhost" - ] + ], + "queryStrategy": "UseIPv4" }, "inbounds": [ { diff --git a/autoXRAYno443.sh b/autoXRAYno443.sh index ddbbb3f..1ba3c0e 100644 --- a/autoXRAYno443.sh +++ b/autoXRAYno443.sh @@ -58,7 +58,8 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "https+local://8.8.8.8/dns-query", "https+local://1.1.1.1/dns-query", "localhost" - ] + ], + "queryStrategy": "UseIPv4" }, "inbounds": [ { diff --git a/autoXRAYselfsteal.sh b/autoXRAYselfsteal.sh index 7d0ee15..9008210 100644 --- a/autoXRAYselfsteal.sh +++ b/autoXRAYselfsteal.sh @@ -192,7 +192,8 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "https+local://8.8.8.8/dns-query", "https+local://1.1.1.1/dns-query", "localhost" - ] + ], + "queryStrategy": "UseIPv4" }, "inbounds": [ { diff --git a/autoXRAYselfstealConfChina.sh b/autoXRAYselfstealConfChina.sh index e7d9b87..8e6c3d1 100644 --- a/autoXRAYselfstealConfChina.sh +++ b/autoXRAYselfstealConfChina.sh @@ -201,7 +201,8 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "https+local://8.8.8.8/dns-query", "https+local://1.1.1.1/dns-query", "localhost" - ] + ], + "queryStrategy": "UseIPv4" }, "inbounds": [ { diff --git a/autoXRAYselfstealConfRU.sh b/autoXRAYselfstealConfRU.sh index b2110a4..c859dbf 100644 --- a/autoXRAYselfstealConfRU.sh +++ b/autoXRAYselfstealConfRU.sh @@ -201,7 +201,8 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "https+local://8.8.8.8/dns-query", "https+local://1.1.1.1/dns-query", "localhost" - ] + ], + "queryStrategy": "UseIPv4" }, "inbounds": [ { @@ -309,7 +310,8 @@ cat << 'EOF' | envsubst > "$WEB_PATH/$path_subpage.html" "8.8.8.8", "1.1.1.1", "localhost" - ] + ], + "queryStrategy": "UseIPv4" }, "routing": { "domainStrategy": "IPIfNonMatch", diff --git a/autoXRAYselfstealConfRUbrEU.sh b/autoXRAYselfstealConfRUbrEU.sh index 5084779..4e4c0d1 100644 --- a/autoXRAYselfstealConfRUbrEU.sh +++ b/autoXRAYselfstealConfRUbrEU.sh @@ -265,7 +265,8 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "https+local://8.8.8.8/dns-query", "https+local://1.1.1.1/dns-query", "localhost" - ] + ], + "queryStrategy": "UseIPv4" }, "inbounds": [ { @@ -432,7 +433,8 @@ cat << 'EOF' | envsubst > "$WEB_PATH/$path_subpage.html" "8.8.8.8", "1.1.1.1", "localhost" - ] + ], + "queryStrategy": "UseIPv4" }, "routing": { "domainStrategy": "IPIfNonMatch",