How To: Fixing DNS problems

The inability to open a website by name usually indicates a DNS (Domain Name System) problem. DNS is the service that converts the website URL, i.e. www.yahoo.com into the IP address that is needed for actual communication.

A quick way to test this is to try to access the problem website via its IP address instead of its name. You can find a website’s IP address by opening a Windows MS-DOS or Command prompt and typing ping, followed by the website domain you are trying to reach (don’t type the www, though). Here’s an example using google.com :

C :\Windows>ping google.com

Pinging google.com [216.239.51.100] with 32 Bytes of data :

Reply from 216.239.51.100 : Bytes=32 time=267ms TTL=242
Reply from 216.239.51.100 : Bytes=32 time=261ms TTL=242
Reply from 216.239.51.100 : Bytes=32 time=256ms TTL=242
Reply from 216.239.51.100 : Bytes=32 time=252ms TTL=242

Ping statistics for 216.239.51.100 :
Packets : Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds :
Minimum = 252ms, Maximum = 267ms, Average = 259ms

You can see that 216.239.51.100 is google.com’s IP address, so now enter http://216.239.51.100/ into your web browser’s address or location box. If the website comes up, you’ve got a DNS problem.

The most common cause of the behavior described above is incorrect DNS settings in your computer’s TCP/IP properties. This typically happens after installing a hardwarerouter or Internet Sharing software like Windows’ Internet Connection Sharing feature. If your computer had its TCP/IP properties set manually (statically), you’re likely to have DNS-related problems.

Fixing the problem is easy. Here’s how for Win95 and 98 :

Figure 1 : Win98SE TCP/IP properties

2) Scroll down the window in the Configuration tab until you find the copy of TCP/IP that is bound (indicated by ->) to the network adapter that you are using to connect to your network. You should be able to recognize the correct adapter, since it will usually have some sort of manufacturer’s name in it. Click on the adapter to select, then click the Properties button. Another window similar to Figure 2 will appear.

Figure 2 : Win98SE DNS properties

4) Figure 2 shows that the old DNS settings (your will probably be different from the screenshot) are still in charge. Fix this by deleting all entries in the DNS Server Search Order box. Then click the Disable DNS button. While you’re at it, click on the Gateway tab, and make sure there are no entries there. Click the OK button to close the TCP/IP properties window, then click the OK button to close the Networkproperties window. Restart your system when prompted.

5) After the system restarts, it’s possible that your computer may still have old IP address information that can result in the same behavior as before. To force the system to get new IP address information click Start > Run and type winipcfg. Click the More Info button. Select your network adapter, click the Release button, wait until the information in the window is cleared, then click the Renew button. After a short delay you should see new information in the window. (This is called a DHCP Release / Renew.)

6) Now open your web browser and try your problem sites. The problem should be fixed. If it isn’t, see the What Else can be wrong ? section below.

Here’s the fix for WinXP :

Figure 3 : WinXP Local Area Connection properties

Figure 4 : WinXP TCP/IP properties

4) Once again, we want to be sure that we now have new IP address information. You should still have the Local Area Connection Status window open. Click the Support tab, then click the Repair button. After a short delay, you should get a repair completed popup and IP address information should reappear in the window. You’ll need to click the Details... button to see the DNS server information.

5) Now open your web browser and try your problem sites. The problem should be fixed. If it isn’t, see the What Else can be wrong ? section below.

What Else can be wrong ?

ISP DNS problems
If things were working correctly with your exact same network setup, and then mysteriously stopped working, it’s possible that your ISP’s DNS servers are having problems. Contact your ISP’s tech support to report the problem and ask them to fix it !

Tom's Guide Staff

Tom's Guide upgrades your life by helping you decide what products to buy, finding the best deals and showing you how to get the most out of them and solving problems as they arise. Tom's Guide is here to help you accomplish your goals, find great products without the hassle, get the best deals, discover things others don’t want you to know and save time when problems arise. Visit the About Tom's Guide page for more information and to find out how we test products.