Microsoft KB Archive/316341

= HOW TO: Troubleshoot DNS Name Resolution on the Internet in Windows 2000 =

Article ID: 316341

Article Last Modified on 10/31/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server

-



This article was previously published under Q316341





IN THIS TASK
SUMMARY
 * To Enter the Root Hints in the DNS Console
 * To Replace the Cache File
 * To Copy the Cache File from Your Windows 2000 Source

REFERENCES



SUMMARY
This article describes methods that you can use to configure Domain Name System (DNS) if queries that are destined for the Internet are not resolved properly, but local intranet name-resolution works correctly. The cache file on your Windows 2000-based server might be corrupted, missing, or out of date. You can replace the cache file with an original version of the cache file, or you can manually enter the correct root hints in the cache file from the DNS console.

back to the top

To Enter the Root Hints in the DNS Console

 * 1) Click Start, point to Programs, point to Administrative Tools, and then click DNS.
 * 2) In the console tree, double-click the server object to expand it.
 * 3) Right-click the server object, and then click Properties.
 * 4) On the Root Hints tab, click Add.
 * 5) In the Server name box, type the name of the server that you are adding. In the IP address box, type the IP address for the server. Click Add, and then click OK.

NOTE: If the DNS server that you are configuring is a domain controller in a Windows 2000-based domain, see the following Microsoft Knowledge Base article for information about how to replace your root hints:

249868 Replacing Root Hints with the Cache.dns File

back to the top

To Replace the Cache File
 Click Start, and then click Run. In the Open box, type cmd, and then click OK. Stop the DNS service by typing net stop dns at the command prompt. Type cd %systemroot%\system32\dns . Rename your cache file by typing ren cache.dns cache.old . Copy the original version of the cache file. If the backup Cache.dns file does not exist, you must create a backup file in the Backup folder. Type the following commands (where  is the name of your DNS cache file):

cd backup

copy .dns cache.dns

This creates a Cache.dns file in the Backup folder.

Then, type the following commands:

cd..

copy backup\cache.dns.

If the backup Cache.dns file does exist, type copy backup\cache.dns.

</li> Start the DNS service by typing net start dns .</li></ol>

If name resolution to the Internet still does not work, repeat the procedure, but copy the cache file from your Windows 2000 source files.

back to the top

To Copy the Cache File from Your Windows 2000 Source
<ol> Click Start, and then click Run.</li> In the Open text box, type cmd, and then click OK.</li> At the command prompt, type the following line (where  is the drive that contains your Windows 2000 source files):

expand :\i386\cache.dn_ %systemroot%\system32\dns\cache.dns

</li></ol>

back to the top

<div class="references_section">