yokam888 Posted May 11, 2006 CID Share Posted May 11, 2006 guys what causes dns errors? i have dsl connection with router type modem (i have 5 pc on my network) and dns errors always occurs when i surf the web. kindly help me... maybe most of you can detect that i dont know much about computers, but i know im asking the right community, any solution would be greatly appreciated.. thanks!!! Link to comment Share on other sites More sharing options...
tommie gorman Posted May 11, 2006 CID Share Posted May 11, 2006 Welcome to the forum yokam888 Are you using Internet Explorer 6 for your browser? What the heck is "DNS?" Much like the telephone system, real Internet addresses are actually numbers, not names. When your tell your web browser (e.g., Internet Explorer) to go to (say) "www.techtv.com" it first has to convert that name into a numerical Internet address ("64.95.116.134" in the case of "www.techtv.com"). It does that by looking up the address with DNS (Domain Name System), much as you would look up a name in a telephone book to get the proper telephone number to call. How "DNS" works Your ISP (Internet Service Provider) normally provides DNS service to you by giving you a list of addresses of DNS servers (computers) to use, usually at least two in case one happens to fail. Your computer typically gets the addresses of these DNS servers automatically and invisibly by means of DHCP or PPPoE (Internet protocols). When your web browser needs to look up an Internet name (e.g., "www.techtv.com"), your computer sends a query to one of these DNS servers. If it can't get the numerical Internet address from the first server (e.g., the server doesn't respond), it tries other servers in the list. If it's not able to get a numerical Internet address from any of the listed servers, you get a DNS error. What can go wrong DNS servers are normally pretty reliable, but they can fail. They can also be overwhelmed when an ISP doesn't upgrade them sufficiently to keep up with growth, when network paths get congested, and/or when malicious people mount attacks (e.g., denial of service) over the Internet. When that happens you may see significant delays ("pauses") when trying to access web pages while your computer is trying to look up the necessary Internet addresses, or you simply not be able to access the web pages at all. DNS caching It's quite common to access several different web pages on the same server during a given Internet session (e.g., "http://www.techtv.com/techtv/", "http://www.techtv.com/screensavers/", "http://www.techtv.com/screensavers/broadband/"). Looking up the same name (e.g., "www.techtv.com") over and over is obviously wasteful and time-consuming, so your computer typically "caches" (temporarily saves) the first lookup, and uses the cached (saved) numerical Internet address for subsequent accesses in a given period of time. All well and good. What can go wrong Caching of DNS lookups doesn't just apply to successful ("positive") lookups -- it can also apply to unsuccessful ("negative") lookups. Although this can save time and resources when you try to go to the same invalid web address, it can cause problems when a DNS lookup fails due to temporary server problems at your ISP. The DNS server might well be able to handle the lookup if you tried again (as you are advised to do), but if your computer has cached the unsuccessful lookup, it won't even bother to try again until the cache expires (typically several minutes) or is otherwise cleared (e.g., by rebooting) -- it will just immediately signal the same error. Why this has become more of a problem Prior versions of Windows for consumers (Windows 95/98/Me) didn't cache unsuccessful DNS lookups so they don't experience this problem, but Windows XP has a "DNS Client" service that does cache unsuccessful lookups by default. (Windows 2000 has the same potential problem, but wasn't targeted at consumers.) In addition, recent major changes in the broadband landscape, such as the mass migration of subscribers from the now defunct @Home to ATTBI (AT&T Broadband), has resulted in some DNS reliability problems. How to deal with the problem When you can't get to a web page because Windows XP or Windows 2000 has cached an unsuccessful DNS lookup, you can: Try later (after the cache entry has expired) Reboot your computer (which clears the DNS cache) Clear (flush) the DNS cache manually (run "ipconfig /flushdns") Turn off the "DNS Client" service entirely (hurts performance by requiring unnecessary lookups) Disable caching of unsuccessful ("negative") DNS lookups (best method -- see below) Turn off unsuccessful ("negative") DNS caching (Applies only to Windows XP and Windows 2000.) Unsuccessful ("negative") DNS caching can be disabled by adding three Registry Values (NegativeCacheTime, NetFailureCacheTime, and NegativeSOACacheTime, all not normally present), setting them to zero. Since manual editing of the Registry is a tricky and risky business, I've provided a simple Registry script to do the job. (Click the link to start the download; save the script to your desktop; and then double-click on it to run it. When you get "Are you sure you want to add the information ..." dialog box, click Yes. The script can be tossed into the Recycle Bin after it has been run.) There is no real downside to making these changes -- just delay if you make repeated tries to an invalid Internet name. (Nevertheless, please note that you use this script at your own risk, and that it's always a good idea to back up your Registry before making any change.) Works for dial-up too! Although it may not be as noticeable as on broadband, this problem can occur on dial-up as well, so turning off unsuccessful ("negative") DNS caching (as described above) is also recommended for dial-up. If you change your mind To go back to Windows default behavior, simply remove the three Registry Values described above. Since manual editing of the Registry is a tricky and risky business, I've provided a simple INF script to do the job. (Click the link to start the download; save the INF file to your desktop; right-click on it, and then choose Install to run it. The INF file can be tossed into the Recycle Bin after it has been run.) (See note above before proceeding. http://cable-dsl.home.att.net/dns_cache.htm Hope that fixes it for you. Sorry so long. Tommie Link to comment Share on other sites More sharing options...
Recommended Posts