mirror of
https://github.com/QSCTech/zjunet.git
synced 2026-01-22 19:54:48 +08:00
Enable customized dns server option
This commit is contained in:
parent
e00192add6
commit
f7d70fc5dd
@ -28,9 +28,10 @@ zju_test_and_set_up_dns () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# 浙大的DNS不是很稳定,这里列了备用方案
|
# 浙大的DNS不是很稳定,这里列了备用方案
|
||||||
# 官方 > 10.12.10.12 > Senorsen (QSC Server) DNS > ALI YUN
|
# 官方 > 10.12.10.12 > Senorsen (QSC Server) DNS > 114 DNS
|
||||||
zju_test_and_set_up_dns \
|
zju_test_and_set_up_dns \
|
||||||
|
$1 \
|
||||||
10.10.0.21 10.10.0.22 10.10.0.23 \
|
10.10.0.21 10.10.0.22 10.10.0.23 \
|
||||||
10.12.10.12 \
|
10.12.10.12 \
|
||||||
10.202.68.43 \
|
10.202.68.73 \
|
||||||
114.114.114.114
|
114.114.114.114
|
||||||
|
|||||||
@ -39,7 +39,7 @@ case "$1" in
|
|||||||
"${BASEDIR}/vpn.sh" $2
|
"${BASEDIR}/vpn.sh" $2
|
||||||
;;
|
;;
|
||||||
dns)
|
dns)
|
||||||
"${BASEDIR}/dns.sh"
|
"${BASEDIR}/dns.sh" $2
|
||||||
;;
|
;;
|
||||||
version|--version)
|
version|--version)
|
||||||
version_full=`cat "${MISCELLDIR}/VERSION"`
|
version_full=`cat "${MISCELLDIR}/VERSION"`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user