"facebook việt nam " lần đầu tiên mình biết có cái tên này.
cái DNS.bat này dùng open DNS con 222 đây mà chương trình hồi trước mình down có 6 con DNS không biết ai táy máy xoá mất 5 con của bác Trọng rồi.
Trong list 1000 DNS của mình cũng có con này.
mã cũ đây
@ECHO OFF
CLS
:LOOP
ECHO ===Chuong trinh ho tro thay doi DNS ===
ECHO ===Author: Beo @ http://facebook.com/lephanductrong ===
ECHO ............................................
ECHO Minh bo sung them 1 vai Public DNS nua ngoai OpenDNS
ECHO.
ECHO 1. Khoi phuc DNS mac dinh
ECHO 2. Su dung OpenDNS (lua chon thay the khi khong truy cap duoc Facebook)
ECHO ------
ECHO 3. Level 3 Communications (Broomfield, CO, US)
ECHO 4. Cisco (San Jose, CA, US)
ECHO 5. Sprintlink (Overland Park, KS, US)
ECHO 6. GTE (Irving, TX, US)
ECHO 7. SpeakEasy (Seattle, WA, US)
ECHO T. Thoat
ECHO.
SET Choice=
SET /P Choice=Nhap lua chon cua ban va go ENTER:
IF NOT '%Choice%'=='' SET Choice=%Choice:~0,1%
ECHO.
IF /I '%Choice%'=='1' GOTO ItemA
IF /I '%Choice%'=='2' GOTO ItemB
IF /I '%Choice%'=='3' GOTO ItemC
IF /I '%Choice%'=='4' GOTO ItemD
IF /I '%Choice%'=='5' GOTO ItemE
IF /I '%Choice%'=='6' GOTO ItemF
IF /I '%Choice%'=='7' GOTO ItemG
IF /I '%Choice%'=='T' GOTO End
ECHO "%Choice%" is not valid. Please try again.
ECHO.
GOTO Loop
:ItemA
ECHO Dang thuc hien, ban vui long doi trong giay lat ...
netsh interface ip set dns "Local Area Connection" source=dhcp
netsh interface ip set dns "Wireless Network Connection" source=dhcp
GOTO Auto
:ItemB
ECHO Dang thuc hien, ban vui long doi trong giay lat ...
netsh interface ip set dns "Local Area Connection" static 208.67.222.222
netsh interface ip add dns "Local Area Connection" 208.67.220.220
netsh interface ip set dns "Wireless Network Connection" static 208.67.222.222
netsh interface ip add dns "Wireless Network Connection" 208.67.220.220
GOTO Opendns
:ItemC
ECHO Dang thuc hien, ban vui long doi trong giay lat ...
netsh interface ip set dns "Local Area Connection" static 4.2.2.5
netsh interface ip add dns "Local Area Connection" 4.2.2.6
netsh interface ip set dns "Wireless Network Connection" static 4.2.2.5
netsh interface ip add dns "Wireless Network Connection" 4.2.2.6
GOTO complete
:ItemD
ECHO Dang thuc hien, ban vui long doi trong giay lat ...
netsh interface ip set dns "Local Area Connection" static 64.102.255.44
netsh interface ip add dns "Local Area Connection" 128.107.241.185
netsh interface ip set dns "Wireless Network Connection" static 64.102.255.44
netsh interface ip add dns "Wireless Network Connection" 128.107.241.185
GOTO complete
:ItemE
ECHO Dang thuc hien, ban vui long doi trong giay lat ...
netsh interface ip set dns "Local Area Connection" static 199.2.252.10
netsh interface ip add dns "Local Area Connection" 204.97.212.10
netsh interface ip set dns "Wireless Network Connection" static 199.2.252.10
netsh interface ip add dns "Wireless Network Connection" 204.97.212.10
GOTO complete
:ItemF
ECHO Dang thuc hien, ban vui long doi trong giay lat ...
netsh interface ip set dns "Local Area Connection" static 192.76.85.133
netsh interface ip add dns "Local Area Connection" 206.124.64.1
netsh interface ip set dns "Wireless Network Connection" static 192.76.85.133
netsh interface ip add dns "Wireless Network Connection" 206.124.64.1
GOTO complete
:ItemG
ECHO Dang thuc hien, ban vui long doi trong giay lat ...
netsh interface ip set dns "Local Area Connection" static 216.231.41.2
netsh interface ip add dns "Local Area Connection" 216.254.95.2
netsh interface ip set dns "Wireless Network Connection" static 216.231.41.2
netsh interface ip add dns "Wireless Network Connection" 216.254.95.2
GOTO complete
PAUSE
CLS
GOTO Loop
:Auto
ECHO Che do dns tu dong da duoc dat.
GOTO End
:Opendns
ECHO Che do OpenDNS da duoc dat.
GOTO End
:complete
ECHO Che do custom DNS da duoc dat.
GOTO End
:End
PAUSE
Bookmarks