mmtsahindmn Posted March 28, 2014 Share Posted March 28, 2014 selamlar arkadaşlar dns ayarını .reg dosyası ile değiştirmek mümkün mü kodları nasıl olmalı... ? Quote Link to comment Share on other sites More sharing options...
sevcankonak Posted March 28, 2014 Share Posted March 28, 2014 ' SetStaticIP.vbs ' SET STATIC IP strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colNetAdapters = objWMIService.ExecQuery _ ("Select * from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE") ' ENABLE DNS For Each objNetAdapter in colNetAdapters arrDNSServers = Array("8.8.8.8", "8.8.4.4") objNetAdapter.SetDNSServerSearchOrder(arrDNSServers) Next Quote Link to comment Share on other sites More sharing options...
NotToday Posted March 28, 2014 Share Posted March 28, 2014 (edited) Böyle bir içerik buldum.32x 64xde bu konum mevcut :) # Flush the existing DNS cache# Start > Run (type) regedit# Navigate to the following location:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters# Click Edit > New > DWORD Value (type) MaxCacheTtl# Click Edit > New > DWORD Value (type) MaxNegativeCacheTtl# Next right-click on the MaxCacheTtl entry (right pane) and select: Modify and change the value to 1# The MaxNegativeCacheTtl entry should already have a value of 0 (leave it that way - see screenshot)# Close Regedit and reboot ..-- Edited March 28, 2014 by NotToday Quote Link to comment Share on other sites More sharing options...
Shredder Posted March 28, 2014 Share Posted March 28, 2014 şöle bişide belki işine yarar http://www.youtube.com/watch?v=f_dMwcvYs9Q Quote Link to comment Share on other sites More sharing options...
mmtsahindmn Posted March 28, 2014 Author Share Posted March 28, 2014 kayıt defteri hatası veriyor arkadaşlar Quote Link to comment Share on other sites More sharing options...
lamont Posted March 28, 2014 Share Posted March 28, 2014 regeditten başka pc lerdede hem dns hemde ip adreslerini degiştirebiliyormuyuz arkadaşlar Quote Link to comment Share on other sites More sharing options...
major_ata Posted March 29, 2014 Share Posted March 29, 2014 (edited) reg dosyası olarak kaydedin.. çalışıyor .. istediğiniz dns adresini girin en alta [codeh]Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Tcpip\Parameters\Interfaces\{7478356B-D043-4A4B-AD61-FE158BAB3C93}] "UseZeroBroadcast"=dword:00000000 "EnableDeadGWDetect"=dword:00000001 "EnableDHCP"=dword:00000001 "NameServer"="208.67.222.222,208.67.220.220"[/codeh] birde mozillanın bu eklentisi ile ip no değiştirip giriş yapabilirsiniz Edited March 29, 2014 by major_ata Quote Link to comment Share on other sites More sharing options...
ekran Posted March 29, 2014 Share Posted March 29, 2014 (edited) Airties kullanan arkadaşlar için modem open dns girmek ; set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "cmd" WScript.Sleep 100 WshShell.AppActivate "C:\Windows\system32\cmd.exe" WScript.Sleep 100 WshShell.SendKeys "telnet 192.168.2.1{ENTER}" WScript.Sleep 100 WshShell.SendKeys "root{ENTER}" WScript.Sleep 100 WshShell.SendKeys "Şifre gir{ENTER}" WScript.Sleep 100 WshShell.SendKeys "cd /etc/{ENTER}" WScript.Sleep 100 WshShell.SendKeys "echo nameserver 208.67.222.222 > dproxy.conf{ENTER}" WScript.Sleep 100 WshShell.SendKeys "echo nameserver 208.67.220.220 >> dproxy.conf{ENTER}" WScript.Sleep 100 WshShell.SendKeys "echo nameserver 8.8.8.8 >>> dproxy.conf{ENTER}" WScript.Sleep 200 WshShell.SendKeys "{ENTER}" WScript.Sleep 200 WshShell.SendKeys "exit{ENTER}" WScript.Sleep 200 Şifre gir yazan yere modemin şifresini girin ve vbs olarak dosyayı kayıt edin çift tıklayın.! Edited March 29, 2014 by ekran Quote Link to comment Share on other sites More sharing options...
ozanaus Posted March 29, 2014 Share Posted March 29, 2014 Airties kullanan arkadaşlar için modem open dns girmek ; set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "cmd" WScript.Sleep 100 WshShell.AppActivate "C:\Windows\system32\cmd.exe" WScript.Sleep 100 WshShell.SendKeys "telnet 192.168.2.1{ENTER}" WScript.Sleep 100 WshShell.SendKeys "root{ENTER}" WScript.Sleep 100 WshShell.SendKeys "Şifre gir{ENTER}" WScript.Sleep 100 WshShell.SendKeys "cd /etc/{ENTER}" WScript.Sleep 100 WshShell.SendKeys "echo nameserver 208.67.222.222 > dproxy.conf{ENTER}" WScript.Sleep 100 WshShell.SendKeys "echo nameserver 208.67.220.220 >> dproxy.conf{ENTER}" WScript.Sleep 100 WshShell.SendKeys "echo nameserver 8.8.8.8 >>> dproxy.conf{ENTER}" WScript.Sleep 200 WshShell.SendKeys "{ENTER}" WScript.Sleep 200 WshShell.SendKeys "exit{ENTER}" WScript.Sleep 200 Şifre gir yazan yere modemin şifresini girin ve vbs olarak dosyayı kayıt edin çift tıklayın.! bunun modem resetleme komutu da varmı Quote Link to comment Share on other sites More sharing options...
BOMBOM07 Posted March 29, 2014 Share Posted March 29, 2014 (edited) reg dosyası olarak kaydedin.. çalışıyor .. istediğiniz dns adresini girin en alta [codeh]Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Tcpip\Parameters\Interfaces\{7478356B-D043-4A4B-AD61-FE158BAB3C93}] "UseZeroBroadcast"=dword:00000000 "EnableDeadGWDetect"=dword:00000001 "EnableDHCP"=dword:00000001 "NameServer"="208.67.222.222,208.67.220.220"[/codeh] Regedit ayarı çalışmadı SafeDNS'yi yapmayı denemiştim. Bende bu şekilde çalışıyor her bilgisayarda bu regedit bölümü farklılık mı gösteriyor acaba? Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces\{B5ADBD7D-66C0-4B2A-8D4D-A7D027CB4B34}] "UseZeroBroadcast"=dword:00000000 "EnableDeadGWDetect"=dword:00000001 "EnableDHCP"=dword:00000001 "NameServer"="195.46.39.39,195.46.39.40" Edited March 29, 2014 by BOMBOM07 Quote Link to comment Share on other sites More sharing options...
ozanaus Posted March 29, 2014 Share Posted March 29, 2014 reg yerine bat olamaz mı Quote Link to comment Share on other sites More sharing options...
BOMBOM07 Posted March 29, 2014 Share Posted March 29, 2014 Biraz araştırdım her bilgisayarda ve işletim sisteminde farklılık gösterebiliyormuş. Quote Link to comment Share on other sites More sharing options...
ozanaus Posted March 29, 2014 Share Posted March 29, 2014 ben bi bat komutu denedim ama dnsnın ılk sırasını degıstırıyor ıkıncı sıranın komutu nasıl olacak acaba? dns: 205.171.2.65 205.171.3.65 bat komutu [codeh] netsh interface ip set dns "wifi" static 205.171.2.65 [/codeh] çalıstırınca bu sekılde ılk sıra tek degısıyor komutu duzgun calısması ıcın nasıl düzenlemem gerekır Quote Link to comment Share on other sites More sharing options...
BOMBOM07 Posted March 29, 2014 Share Posted March 29, 2014 (edited) VBScript ile yapmak mümkün; strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colNetAdapters = objWMIService.ExecQuery _ ("Select * from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE") For Each objNetAdapter in colNetAdapters arrDNSServers = Array("195.46.39.39", "195.46.39.40") objNetAdapter.SetDNSServerSearchOrder(arrDNSServers) Next arrDNSServers kısmındaki IP numaralarını istediğiniz gibi değiştirebilirsiniz. SafeDNS VBScript'i; http://www.solidfiles.com/d/7369275b64/SafeDNS.vbs .vbs'yi .exe'ye çevirme; (Programa 30 tane icon eklenip; portable yapılmıştır.) http://www.solidfiles.com/d/465ac6c086/Exe_From_VBScript.exe Edited March 29, 2014 by BOMBOM07 Quote Link to comment Share on other sites More sharing options...
lamont Posted March 29, 2014 Share Posted March 29, 2014 programını yazacam dns sorunu çözecem artık Quote Link to comment Share on other sites More sharing options...
MrRush Posted March 30, 2014 Share Posted March 30, 2014 (edited) ZenMate eklentisi de alternatif olsun... [spoiler][/spoiler] Edited March 30, 2014 by dj sms Quote Link to comment Share on other sites More sharing options...
lamont Posted April 1, 2014 Share Posted April 1, 2014 kardeş regedit ile başka pc lerde dns degiştirmek pek mümkün degil gibi Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.