HOW TO: Troubleshoot DNS Name Resolution on the Internet in Windows 2000 (316341)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
This article was previously published under Q316341 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- Click Start, point to Programs, point to Administrative Tools, and then click DNS.
- In the console tree, double-click the server object to expand it.
- Right-click the server object, and then click Properties.
- On the Root Hints tab, click Add.
- 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 original_dns_cache_file is the name of your DNS cache file):
cd backup
copy original_dns_cache_file.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.
- Start the DNS service by typing net start dns.
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- Click Start, and then click Run.
- In the Open text box, type cmd, and then click OK.
- At the command prompt, type the following line (where drive is the drive that contains your Windows 2000 source files):
expand drive:\i386\cache.dn_ %systemroot%\system32\dns\cache.dns
back to the top
REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
300202 HOW TO: Configure DNS for Internet Access in Windows 2000
172953 How to Install and Configure Microsoft DNS Server
back to the top
Modification Type: | Major | Last Reviewed: | 10/30/2003 |
---|
Keywords: | kbhowto kbHOWTOmaster KB316341 kbAudITPro |
---|
|