Advertisement
patronanejo

NEW ACTIVATETUNLR.BAT - UPDATED DNS

Aug 20th, 2012
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. The batch file <a href="http://tunlr.net/forums/topic/easy-way-to-turn-tunlr-on-and-off/#post-762">activatetunlr.bat</a> works for me on Windows 7. All I've done here is update it to the new primary DNS.
  2.  
  3. You can <a href="http://pastebin.com/download.php?i=xEaPsAf1>download the updated batch file from pastebin</a>, just remove the <i>.txt</i> from the filename before you run it as a batch file. You can visit the pastebin host page at <a href="http://pastebin.com/xEaPsAf1">http://pastebin.com/xEaPsAf1</a>.
  4.  
  5. Just remember
  6. • You'll probably need to run the batch file as an administrator;
  7. • If you run Windows XP, you will have to change <i>ipv4</i> to <i>ip</i> and <i>dnsservers</i> to <i>dns</i>;
  8. • Remove the <i>.txt</i> extension from the filename <i>activatetunlr.bat.txt</i> to make it executable.
  9. • The original <a href="https://rapidshare.com/files/1611065261/activatetunlr.bat">can still be downloaded</a> from rapidshare.
  10.  
  11. Or copy-and-paste everything below this line to a new text file and name it something like <a href="http://pastebin.com/download.php?i=xEaPsAf1>newactivatetunlr.bat</a>
  12.  
  13. __________________________________________________________________
  14.  
  15.  
  16. ::NEW ACTIVATETUNLR.BAT
  17.  
  18. for /f "tokens=3*" %%i in ('netsh interface ipv4 show config^|find """"^|
  19.  
  20. find /v "Drah"^|find /v "1394"') do (
  21.  
  22. netsh interface ipv4 add dnsservers name="%%~j" 184.82.222.5
  23. netsh interface ipv4 add dnsservers name="%%~j" 199.167.30.144 index=2
  24.  
  25. )
  26. netsh interface ip show config
  27. ipconfig /flushdns
  28. pause
  29.  
  30. ::NEW PRIMARY DNS 184.82.222.5
  31. ::SECONDARY DNS 199.167.30.144
  32. ::OLD PRIMARY DNS 149.154.158.186
  33. ::ALTERNATE DNS 64.250.122.104
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement