Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[BATCH] Penukar DNS [TWM]
20-06-2011, 10:22 AM,
Post: #1
[BATCH] Penukar DNS [TWM]
Salam,

Nk share skit DNS changer, very basic n simple.
TypeWithMe so apa2 nk ubah atau tambah silakan.

Code:
Color 06
Title Penukar DNS
@ECHO off
cls
:mula
ECHO.
echo **************** Penukar DNS *******************
echo.
echo 1 Google DNS
echo 2 Comodo DNS
echo 3 Keluar
set pilihan=
set /p pilihan=Sila Pilih (tekan 1 atau 2 dan tekan Enter):
if not '%pilihan%'=='' set pilihan=%pilihan:~0,1%
if '%pilihan%'=='1' goto google
if '%pilihan%'=='2' goto comodo
if '%pilihan%'=='3' goto quit
ECHO "%pilihan%" salah! Cuba lagi.
ECHO.
goto mula
:google
netsh interface ip set dns name="Local Area Connection" source=static addr=8.8.8.8
netsh interface ip add dns name = "Local Area Connection" addr =8.8.4.4
echo DNS anda telah di tukar ke DNS Google.
goto berjaya
:comodo
netsh interface ip set dns name="Local Area Connection" source=static addr=156.154.70.22
netsh interface ip add dns name = "Local Area Connection" addr =156.154.71.22
echo DNS anda telah di tukar ke DNS Comodo.
goto berjaya

:berjaya
ECHO.
echo **************** Penukar DNS *******************
echo.
echo 0 Tukar DNS Semula?
echo 1 Lihat Konfigurasi IP/DNS Anda?
echo 2 Keluar
set pilihan2=
set /p pilihan2=Sila Pilih (tekan 1 atau 2 dan tekan Enter):
if not '%pilihan2%'=='' set pilihan=%pilihan2:~0,1%
if '%pilihan2%'=='0' goto mula
if '%pilihan2%'=='1' goto konfigur
if '%pilihan2%'=='2' goto quit
ECHO "%pilihan2%" salah! Cuba lagi.
:konfigur
ipconfig /all
goto berjaya
:quit
ECHO.
goto end
:end


Attached Files
.zip   DNS Changer.zip (Size: 606 bytes / Downloads: 9)
Reply
20-06-2011, 11:07 AM,
Post: #2
RE: [BATCH] Penukar DNS [TWM]
xde thnx button??
Big Grin
Hmm
Reply
21-06-2011, 01:25 PM,
Post: #3
RE: [BATCH] Penukar DNS [TWM]
x ada sapa2 nk tambah2 ka?
Reply
21-06-2011, 01:31 PM,
Post: #4
RE: [BATCH] Penukar DNS [TWM]
ahaha..~~ nice thx...
[Image: logo.png]
Reply
21-06-2011, 01:34 PM,
Post: #5
RE: [BATCH] Penukar DNS [TWM]
(20-06-2011, 10:22 AM)in2x Wrote: Salam,

Nk share skit DNS changer, very basic n simple.
TypeWithMe so apa2 nk ubah atau tambah silakan.

Code:
Color 06
Title Penukar DNS
@ECHO off
cls
:mula
ECHO.
echo **************** Penukar DNS *******************
echo.
echo 1 Google DNS
echo 2 Comodo DNS
echo 3 Keluar
set pilihan=
set /p pilihan=Sila Pilih (tekan 1 atau 2 dan tekan Enter):
if not '%pilihan%'=='' set pilihan=%pilihan:~0,1%
if '%pilihan%'=='1' goto google
if '%pilihan%'=='2' goto comodo
if '%pilihan%'=='3' goto quit
ECHO "%pilihan%" salah! Cuba lagi.
ECHO.
goto mula
:google
netsh interface ip set dns name="Local Area Connection" source=static addr=8.8.8.8
netsh interface ip add dns name = "Local Area Connection" addr =8.8.4.4
echo DNS anda telah di tukar ke DNS Google.
goto berjaya
:comodo
netsh interface ip set dns name="Local Area Connection" source=static addr=156.154.70.22
netsh interface ip add dns name = "Local Area Connection" addr =156.154.71.22
echo DNS anda telah di tukar ke DNS Comodo.
goto berjaya

:berjaya
ECHO.
echo **************** Penukar DNS *******************
echo.
echo 0 Tukar DNS Semula?
echo 1 Lihat Konfigurasi IP/DNS Anda?
echo 2 Keluar
set pilihan2=
set /p pilihan2=Sila Pilih (tekan 1 atau 2 dan tekan Enter):
if not '%pilihan2%'=='' set pilihan=%pilihan2:~0,1%
if '%pilihan2%'=='0' goto mula
if '%pilihan2%'=='1' goto konfigur
if '%pilihan2%'=='2' goto quit
ECHO "%pilihan2%" salah! Cuba lagi.
:konfigur
ipconfig /all
goto berjaya
:quit
ECHO.
goto end
:end

aku macam nak tambakhan untuk OpenDNS. tapi malas le. ROFL

@suhz if you read this, buatkan versi VB untuk aku. xde vb, nk download tapi makan mase. al-jaring GayFace .
YANG TERBAIK DIUTAMAKAN
[Image: source.gif]
YANG BAIK KITA MAKAN
Reply
21-06-2011, 01:43 PM,
Post: #6
RE: [BATCH] Penukar DNS [TWM]
wow.. i like..nice share bro.. Big Grin
boleh tambah mcm2 nie...
poxy2 yeahh..
Reply
21-06-2011, 02:19 PM,
Post: #7
RE: [BATCH] Penukar DNS [TWM]
celcom broadband tukar DNS pon tak guna. Sad
Reply
21-06-2011, 03:22 PM, (This post was last modified: 21-06-2011, 03:25 PM by Yo.)
Post: #8
RE: [BATCH] Penukar DNS [TWM]
(21-06-2011, 02:19 PM)alak_1988 Wrote: celcom broadband tukar DNS pon tak guna. Sad

ehe pki proxy la.


(21-06-2011, 01:43 PM)s3m0t_h1t4m Wrote: wow.. i like..nice share bro.. Big Grin
boleh tambah mcm2 nie...
poxy2 yeahh..

aha tambah2 nnt share2 la kt sini.. masing2 tambah jd la best skit.. skrg yg aku post ni basic jer.. rasanya kna wat bg dia call dari txt kot.
Reply
21-06-2011, 05:48 PM, (This post was last modified: 21-06-2011, 08:38 PM by mikicun.)
Post: #9
RE: [BATCH] Penukar DNS [TWM]
Code:
Color 1f
Title Penukar DNS
@ECHO off
:mula
cls
ECHO.
echo ****************** Penukar DNS *********************
echo *                           *
echo *  A. Google                        *
echo *  B. Comodo                        *
echo *  C. Dnsadvantage                    *
echo *  D. OpenDNS                       *
echo *  E. Norton                       *
echo *  F. Verizon 1                       *
echo *  G. Verizon 2                       *
echo *  H. Verizon 3                       *
echo *  I. ScrubIt                       *
echo *  J. TMNet                       *
echo *  K. Lihat DNS semasa                   *
echo *                           *
echo *  X. Keluar                       *
ECHO *                           *
echo ****************************************************
echo.
set pilihan=
set /p pilihan=Sila Pilih Huruf dan tekan Enter:
if /i '%pilihan%'=='a' goto google
if /i '%pilihan%'=='b' goto comodo
if /i '%pilihan%'=='c' goto dnsadvantage
if /i '%pilihan%'=='d' goto OpenDNS
if /i '%pilihan%'=='e' goto Norton
if /i '%pilihan%'=='f' goto Verizon1
if /i '%pilihan%'=='g' goto Verizon2
if /i '%pilihan%'=='h' goto Verizon3
if /i '%pilihan%'=='i' goto ScrubIt
if /i '%pilihan%'=='j' goto konfigur1
if /i '%pilihan%'=='k' goto tmnet
if /i '%pilihan%'=='x' goto quit
goto mula

:berjaya
cls
netsh interface ip show dnsservers
ECHO.
echo ****************** Penukar DNS *********************
echo *                           *
echo *  0   Kembali ke Menu Utama?               *
echo *  1   Keluar                       *
ECHO *                           *
echo ****************************************************
echo.
set pilihan2=
set /p pilihan2=Sila Pilih Nombor dan tekan Enter:
if not '%pilihan2%'=='' set pilihan=%pilihan2:~0,1%
if '%pilihan2%'=='0' goto mula
if '%pilihan2%'=='1' goto quit
goto berjaya

:google
netsh interface ip set dns name="Local Area Connection" source=static addr=8.8.8.8
netsh interface ip add dns name = "Local Area Connection" addr =8.8.4.4
echo DNS anda telah di tukar ke Google.
goto berjaya

:comodo
netsh interface ip set dns name="Local Area Connection" source=static addr=156.154.70.22
netsh interface ip add dns name = "Local Area Connection" addr =156.154.71.22
echo DNS anda telah di tukar ke Comodo.
goto berjaya

:dnsadvantage
netsh interface ip set dns name="Local Area Connection" source=static addr=156.154.70.1
netsh interface ip add dns name = "Local Area Connection" addr =156.154.71.1
echo DNS anda telah di tukar ke Dnsadvantage.
goto berjaya

:OpenDNS
netsh interface ip set dns name="Local Area Connection" source=static addr=208.67.222.222
netsh interface ip add dns name = "Local Area Connection" addr =208.67.220.220
echo DNS anda telah di tukar ke OpenDNS.
goto berjaya

:Norton
netsh interface ip set dns name="Local Area Connection" source=static addr=198.153.192.1
netsh interface ip add dns name = "Local Area Connection" addr =198.153.194.1
echo DNS anda telah di tukar ke Norton.
goto berjaya

:Verizon1
netsh interface ip set dns name="Local Area Connection" source=static addr=4.2.2.1
netsh interface ip add dns name = "Local Area Connection" addr =4.2.2.2
echo DNS anda telah di tukar ke Verizon 1.
goto berjaya

:Verizon2
netsh interface ip set dns name="Local Area Connection" source=static addr=4.2.2.3
netsh interface ip add dns name = "Local Area Connection" addr =4.2.2.4
echo DNS anda telah di tukar ke Verizon 2.
goto berjaya

:Verizon3
netsh interface ip set dns name="Local Area Connection" source=static addr=4.2.2.5
netsh interface ip add dns name = "Local Area Connection" addr =4.2.2.6
echo DNS anda telah di tukar ke Verizon 3.
goto berjaya

:ScrubIt
netsh interface ip set dns name="Local Area Connection" source=static addr=67.138.54.100
netsh interface ip add dns name = "Local Area Connection" addr =207.225.209.66
echo DNS anda telah di tukar ke ScrubIt.
goto berjaya

:tmnet
netsh interface ip set dns name="Local Area Connection" source=static addr=202.188.0.133
netsh interface ip add dns name = "Local Area Connection" addr =202.188.1.5
echo DNS anda telah di tukar ke default TMNet.
goto berjaya

:konfigur
netsh interface ip show dnsservers
goto berjaya

:konfigur1
cls
netsh interface ip show dnsservers
echo.
pause
goto mula

:quit
ECHO.
goto end

:end

.zip   DNS.zip (Size: 932 bytes / Downloads: 3)
Reply
21-06-2011, 06:03 PM,
Post: #10
RE: [BATCH] Penukar DNS [TWM]
(21-06-2011, 05:48 PM)mikicun Wrote:
PHP Code:
Color 1f
Title Penukar DNS
@ECHO off
:mula
cls
ECHO.
echo ****************** 
Penukar DNS *********************
echo *                           *
echo *  
AGoogle                        *
echo *  
BComodo                        *
echo *  
CDnsadvantage                    *
echo *  
DOpenDNS                       *
echo *  
ENorton                       *
echo *  
FVerizon 1                       *
echo *  
GVerizon 2                       *
echo *  
HVerizon 3                       *
echo *  
IScrubIt                       *
echo *  
JTMNet                       *
echo *  
KLihat DNS semasa                   *
echo *                           *
echo *  
XKeluar                       *
ECHO *                           *
echo ****************************************************
echo.
set pilihan=
set /p pilihan=Sila Pilih Huruf dan tekan Enter
if /
'%pilihan%'=='a' goto google
if /'%pilihan%'=='b' goto comodo
if /'%pilihan%'=='c' goto dnsadvantage
if /'%pilihan%'=='d' goto OpenDNS
if /'%pilihan%'=='e' goto Norton
if /'%pilihan%'=='f' goto Verizon1
if /'%pilihan%'=='g' goto Verizon2
if /'%pilihan%'=='h' goto Verizon3
if /'%pilihan%'=='i' goto ScrubIt
if /'%pilihan%'=='j' goto konfigur1
if /'%pilihan%'=='k' goto tmnet
if /'%pilihan%'=='x' goto quit
goto mula

:berjaya
cls
netsh 
interface ip show dnsservers
ECHO.
echo ****************** 
Penukar DNS *********************
echo *                           *
echo *  
0   Kembali ke Menu Utama?               *
echo *  
1   Keluar                       *
ECHO *                           *
echo ****************************************************
echo.
set pilihan2=
set /p pilihan2=Sila Pilih Nombor dan tekan Enter
if 
not '%pilihan2%'=='' set pilihan=%pilihan2:~0,1%
if 
'%pilihan2%'=='0' goto mula 
if '%pilihan2%'=='1' goto quit
goto berjaya

:google
netsh 
interface ip set dns name="Local Area Connection" source=static addr=8.8.8.8
netsh 
interface ip add dns name "Local Area Connection" addr =8.8.4.4
echo DNS anda telah di tukar ke Google.
goto 
berjaya

:comodo
netsh 
interface ip set dns name="Local Area Connection" source=static addr=156.154.70.22
netsh 
interface ip add dns name "Local Area Connection" addr =156.154.71.22
echo DNS anda telah di tukar ke Comodo.
goto 
berjaya

:dnsadvantage
netsh 
interface ip set dns name="Local Area Connection" source=static addr=156.154.70.1
netsh 
interface ip add dns name "Local Area Connection" addr =156.154.71.1
echo DNS anda telah di tukar ke Dnsadvantage.
goto 
berjaya

:OpenDNS
netsh 
interface ip set dns name="Local Area Connection" source=static addr=208.67.222.222
netsh 
interface ip add dns name "Local Area Connection" addr =208.67.220.220
echo DNS anda telah di tukar ke OpenDNS.
goto 
berjaya

:Norton
netsh 
interface ip set dns name="Local Area Connection" source=static addr=198.153.192.1
netsh 
interface ip add dns name "Local Area Connection" addr =198.153.194.1
echo DNS anda telah di tukar ke Norton.
goto 
berjaya

:Verizon1
netsh 
interface ip set dns name="Local Area Connection" source=static addr=4.2.2.1
netsh 
interface ip add dns name "Local Area Connection" addr =4.2.2.2
echo DNS anda telah di tukar ke Verizon 1.
goto berjaya

:Verizon2
netsh 
interface ip set dns name="Local Area Connection" source=static addr=4.2.2.3
netsh 
interface ip add dns name "Local Area Connection" addr =4.2.2.4
echo DNS anda telah di tukar ke Verizon 2.
goto berjaya

:Verizon3
netsh 
interface ip set dns name="Local Area Connection" source=static addr=4.2.2.5
netsh 
interface ip add dns name "Local Area Connection" addr =4.2.2.6
echo DNS anda telah di tukar ke Verizon 3.
goto berjaya

:ScrubIt
netsh 
interface ip set dns name="Local Area Connection" source=static addr=67.138.54.100
netsh 
interface ip add dns name "Local Area Connection" addr =207.225.209.66
echo DNS anda telah di tukar ke ScrubIt.
goto 
berjaya

:tmnet
netsh 
interface ip set dns name="Local Area Connection" source=static addr=202.188.0.133
netsh 
interface ip add dns name "Local Area Connection" addr =202.188.1.5
echo DNS anda telah di tukar ke default TMNet.
goto 
berjaya

:konfigur
netsh 
interface ip show dnsservers
goto berjaya

:konfigur1
cls
netsh 
interface ip show dnsservers
echo.
pause
goto mula

:quit
ECHO.
goto 
end

:end 

Awat letak php code huhu
Although many Malays in Singapore are generally of mixed descent, they are still recognised as the indigenous people of Singapore by the Singapore Constitution, Part XIII, General Provisions, Minorities and special position of Malays, section 152
Reply
21-06-2011, 06:37 PM,
Post: #11
RE: [BATCH] Penukar DNS [TWM]
something important that you guys need to know

Code:
netsh interface ip set dns name="Local Area Connection" source=static addr=

Local Area Connection tu kene tukar kepada nama adapter/connection yang korang pakai sekarang. macam aku, Wireless Network Connection. kalau nak senang, rename la adapter tu. aku renam jadi 'wifi'. simple.
YANG TERBAIK DIUTAMAKAN
[Image: source.gif]
YANG BAIK KITA MAKAN
Reply
21-06-2011, 07:45 PM,
Post: #12
RE: [BATCH] Penukar DNS [TWM]
(21-06-2011, 06:03 PM)mim0 Wrote: Awat letak php code huhu

nak cepat... silap tekan x prasan plak...
dah edit dah...
Reply
22-06-2011, 12:53 AM, (This post was last modified: 22-06-2011, 12:57 AM by mikicun.)
Post: #13
RE: [BATCH] Penukar DNS [TWM]
ada update sket... versi 1.0.1
sapot wifi dan lan...
kasi komen la...

.zip   DNS Changer v1.0.1.zip (Size: 1,42 KB / Downloads: 6)
Reply
22-06-2011, 01:47 AM,
Post: #14
RE: [BATCH] Penukar DNS [TWM]
http://w3.tbd.my/thread-8776-post-100525.html

aku pun ade buat nye tuu. Big Grin
YANG TERBAIK DIUTAMAKAN
[Image: source.gif]
YANG BAIK KITA MAKAN
Reply
22-06-2011, 02:42 AM,
Post: #15
RE: [BATCH] Penukar DNS [TWM]
dah mcm lawan batch dns dah aku tgk GayFace
Hmm
[Image: 8078264137.png]
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Batch] Code Injector + File Pumper Codeshift3r 1 1,048 11-12-2011, 04:57 PM
Last Post: AceyrafRoshlanz
  [Prob] Batch Programming v2.0 Codeshift3r 4 1,212 02-12-2011, 09:30 PM
Last Post: Codeshift3r
  [Tulun..] Batch Programming Codeshift3r 3 655 24-11-2011, 01:36 PM
Last Post: selipar

Forum Jump: