feat(脚本): 修改domain

pull/534/merge
mack-a 2020-07-17 20:33:49 +08:00
parent 5cbcb43e19
commit 34d5ef9b17
3 changed files with 7 additions and 6 deletions

View File

@ -35,7 +35,7 @@
域名|移动|移动测试|联通|电信 域名|移动|移动测试|联通|电信
-|-|-|-|- -|-|-|-|-
domain04.qiu4.ml|104.17.209.9|上午峰值6w稳定4k不卡顿、晚八点峰值4w流畅4k晚9点峰值1w-3w跨度较大流畅1440p|104.16.25.4|104.16.25.4 domain07.qiu4.ml|1.0.0.1|上午峰值2.3w4k稍显卡顿、晚九点峰值1.5w1440p较为流畅晚十点半峰值7000流畅1080|www.digitalocean.com|www.digitalocean.com
``` ```
bash <(curl -L -s https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh) bash <(curl -L -s https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh)

View File

@ -448,14 +448,14 @@ qrEncode(){
path=`echo ${user}|jq .streamSettings.wsSettings.path` path=`echo ${user}|jq .streamSettings.wsSettings.path`
echoContent green '是否使用DNS智能解析进行自定义CDN IP' echoContent green '是否使用DNS智能解析进行自定义CDN IP'
echoContent yellow " 智能DNS提供一下自定义CDN IP会根据运营商自动切换ip测试结果请查看[https://github.com/mack-a/v2ray-agent/blob/master/optimize_V2Ray.md]" echoContent yellow " 智能DNS提供一下自定义CDN IP会根据运营商自动切换ip测试结果请查看[https://github.com/mack-a/v2ray-agent/blob/master/optimize_V2Ray.md]"
echoContent yellow " 移动:104.17.209.9" echoContent yellow " 移动:1.0.0.1"
echoContent yellow " 联通:172.67.223.77" echoContent yellow " 联通:www.digitalocean.com"
echoContent yellow " 电信:104.16.25.4" echoContent yellow " 电信:www.digitalocean.com"
echoContent yellow '输入[y]使用,[任意]不使用' echoContent yellow '输入[y]使用,[任意]不使用'
read dnsProxy read dnsProxy
if [[ "${dnsProxy}" = "y" ]] if [[ "${dnsProxy}" = "y" ]]
then then
add="domain04.qiu4.ml" add="domain07.qiu4.ml"
fi fi
echoContent yellow "客户端链接--->\n" echoContent yellow "客户端链接--->\n"
qrCodeBase64Default=`echo -n '{"port":"443","ps":"'${ps}'","tls":"tls","id":'"${id}"',"aid":"64","v":"2","host":"'${host}'","type":"none","path":'${path}',"net":"ws","add":"'${add}'"}'|sed 's#/#\\\/#g'|base64` qrCodeBase64Default=`echo -n '{"port":"443","ps":"'${ps}'","tls":"tls","id":'"${id}"',"aid":"64","v":"2","host":"'${host}'","type":"none","path":'${path}',"net":"ws","add":"'${add}'"}'|sed 's#/#\\\/#g'|base64`
@ -660,7 +660,7 @@ checkSystem(){
release="centos" release="centos"
installType='yum -y install' installType='yum -y install'
removeType='yum -y remove' removeType='yum -y remove'
upgrade="yum update -y" upgrade="yum update -y --skip-broken"
elif [[ ! -z `cat /etc/issue | grep -i "debian" | grep -v grep` ]] || [[ ! -z `cat /proc/version | grep -i "debian" | grep -v grep` ]] elif [[ ! -z `cat /etc/issue | grep -i "debian" | grep -v grep` ]] || [[ ! -z `cat /proc/version | grep -i "debian" | grep -v grep` ]]
then then
release="debian" release="debian"

View File

@ -27,6 +27,7 @@ domain03.qiu4.ml|104.16.25.4|上午峰值4.5w稳定4k不卡顿、晚九点2w
domain04.qiu4.ml|104.17.209.9|上午峰值6w稳定4k不卡顿、晚八点峰值4w流畅4k晚9点峰值1w-3w跨度较大流畅1440p晚十点半都不流畅|104.16.25.4|104.16.25.4 domain04.qiu4.ml|104.17.209.9|上午峰值6w稳定4k不卡顿、晚八点峰值4w流畅4k晚9点峰值1w-3w跨度较大流畅1440p晚十点半都不流畅|104.16.25.4|104.16.25.4
domain05.qiu4.ml|104.16.133.229|上午峰值7w稳定8k不卡顿、晚九点峰值1w流畅1080p晚十点半都不流畅|104.16.25.4|104.16.24.4 domain05.qiu4.ml|104.16.133.229|上午峰值7w稳定8k不卡顿、晚九点峰值1w流畅1080p晚十点半都不流畅|104.16.25.4|104.16.24.4
domain06.qiu4.ml|141.101.115.1|未测试|www.digitalocean.com|www.digitalocean.com domain06.qiu4.ml|141.101.115.1|未测试|www.digitalocean.com|www.digitalocean.com
domain07.qiu4.ml|1.0.0.1|未测试|www.digitalocean.com|www.digitalocean.com
### 1.v2rayU ### 1.v2rayU
- 1.参考下图 - 1.参考下图