1
0
mirror of https://github.com/QSCTech/zjunet.git synced 2026-01-22 11:44:48 +08:00

Enable customized dns server option

This commit is contained in:
Senorsen 2015-06-30 00:21:01 +08:00
parent e00192add6
commit f7d70fc5dd
3 changed files with 5 additions and 4 deletions

View File

@ -1 +1 @@
0.2.5-2
0.2.6-1

View File

@ -28,9 +28,10 @@ zju_test_and_set_up_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 \
$1 \
10.10.0.21 10.10.0.22 10.10.0.23 \
10.12.10.12 \
10.202.68.43 \
10.202.68.73 \
114.114.114.114

View File

@ -39,7 +39,7 @@ case "$1" in
"${BASEDIR}/vpn.sh" $2
;;
dns)
"${BASEDIR}/dns.sh"
"${BASEDIR}/dns.sh" $2
;;
version|--version)
version_full=`cat "${MISCELLDIR}/VERSION"`