View the latest, best formatted and most complete version of this manual online at http://mindprod.com/application/quickdns.manual.html.
|What is QuickDNS for?||Running|
|DNS Lookup vs Hosts.||Caveats|
|Advantages of QuickDNS||Windows 10|
|Disadvantages of QuickDNS||Acquiring QuickDNS|
|Format of Hosts. File||Links|
How does it work? Let me explain with a familiar analogy. When you telephone someone, you either:
When your browser goes to a website, e.g. mindprod.com, similarly, it needs to look up the number to get the IP 22.214.171.124. Your computer does this automatically every time you visit a website by first visiting a computer on the web called a DNS server to look up the name for you.
What you can do is create a little electronic address book of commonly visited websites called C:\Windows\system32\drivers\etc\hosts. The computer does not have to pester the DNS server to get these numbers. You can create this file manually with a text editor such as Notepad. You can manually look up the IPs of your common servers with the ping utility, e.g. on the command line type:
The problem is, from time to time, the IPs change and your browser gets sent to the wrong IP. You need something to keep the list of IPs up to date. That is where QuickDNS comes in. You might run it every week or every time you reboot or every time lookup seems to be failing.
The advantages of using QuickDNS are:
You can disable a website with a line like this: 127.0.0.1 google.cn
QuickDNS does not support the older W95, W98, Me, NT and W2K.
rem running QuickDNS rem adjust drive and directory to match where you put the quickdns.jar file. J: cd \com\mindprod\quickdns java -jar quickdns.jar
and it will check all the IPs and update any that have changed. It will leave alone those marked with #leave. Even when it does not change any IPs, it still tidies up the hosts. file into neat columns. It never changes the order of the entries or removes comments.
If you want to run this bat file automatically, every time you boot, put a shortcut to it in: C:\Users\user\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ or use Ace utilities to insert a registry entry to arrange to have it run on boot.
Surprisingly, Windows immediately notices the changes and puts them into effect right away. You don’t have to reboot.
Typical output will look like this:
QuickDNS updated: 126.96.36.199 to 188.8.131.52 for apis.google.com QuickDNS updated: 184.108.40.206 to 220.127.116.11 for google.ca QuickDNS updated: 18.104.22.168 to 22.214.171.124 for google.com QuickDNS updated: 126.96.36.199 to 188.8.131.52 for statcounter.com QuickDNS updated: 184.108.40.206 to 220.127.116.11 for translate.google.com QuickDNS updated: 18.104.22.168 to 22.214.171.124 for www.cbc.ca QuickDNS updated: 126.96.36.199 to 188.8.131.52 for www.paypal.com QuickDNS made 7 updates to your C:\Windows\System32\drivers\etc\hosts file.
If you don’t see any output and you invoked with the shortcut quickdns.jar instead of java.exe -jar quickdns.jar, chances are you have *.jar associated with javaw.exe instead of java.exe. javaw.exe hides output.
Make a back up copy of C:\Windows\system32\drivers\etc\hosts.. The hosts. file is fairly fragile and mysteriously becomes corrupted fairly often. Just copy your backup onto the damaged C:\Windows\system32\drivers\etc\hosts. and run QuickDNS. If that fails, reboot and repeat.
QuickDNS does not work under Windows 10 unless the bat file that invokes it has the run as administrator option. This is because Windows 10 now locks the hosts. file as a system file.
❘ precis ❘ manual ❘ screenshot ❘ browse source repository
for the current version of QuickDNS.
Refreshes IPs in hosts. file.
177K zip for QuickDNS Java source, compiled class files, jar and documentation to run on your own machine as an application.
Runs on any OS that supports Java e.g. W2K, XP, W2003, Vista, W2008, W7-32, W7-64, W8-32, W8-64, W2012, W10-32, W10-64, Linux, LinuxARM, LinuxX86, LinuxX64, Ubuntu, Solaris, SolarisSPARC, SolarisSPARC64, SolarisX86, SolarisX64 and OSX.
First install the most recent Java.
To install, extract the zip download with WinZip, (or similar unzip utility) into any directory you please, often J:\ — ticking off the use folder names option.
To check out the corresponding source from the Subversion repository, use the TortoiseSVN repo-browser to
After you have installed the jar, you can run it as an application. Type:
java -jar J:\com\mindprod\quickdns\quickdns.jar parms
adjusting as necessary to account for where the jar file is.
download ASP PAD XML program description for the current version of QuickDNS.
QuickDNS is free. Full source included. You may even include the source code, modified or unmodified in free/commercial open source/proprietary programs that you write and distribute. Non-military use only.
This page is posted
Optional Replicator mirror
Your face IP:[184.108.40.206]
You are visitor number|