Troubleshoot DNS with ipconfig in Windows 2000
Takeaway: The console-based ipconfig command enables you to view and set IP settings for the local computer; it also allows you to view DNS information and troubleshoot DNS problems. This Windows 2000 Pro tip explains which ipconfig commands to use to troubleshoot DNS problems.
The console-based ipconfig command enables you to view and set IP settings for the local computer. For example, the follow command lists all settings and properties for IP:
ipconfig /all
However, configuring IP settings isn't the only task you can perform with ipconfig. This handy tool also lets you view DNS information and troubleshoot DNS problems.
For example, if a DNS lookup has failed because a DNS server wasn't available, that failed lookup is cached by the computer. You can clear the local DNS resolver cache with the following command:
ipconfig /flushdns
When you're troubleshooting DNS, it's sometimes useful to be able to view the contents of the resolver cache to determine what the resolver has returned for a particular host. To view the cache, use the following command:
ipconfig /displaydns
In addition, you can also cause Windows to update the DNS record for the local host in the local DNS server:
ipconfig /registerdns
Updating the host record in DNS ensures that the host name will resolve to the appropriate IP address after a DHCP lease renewal or manual address change.
Want more Win2K tips and tricks? Automatically sign up for our free Windows 2000 Professional newsletter, delivered each Tuesday!
Print/View all Posts Comments on this article
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
White Papers, Webcasts, and Downloads
- The True Costs of Virtual Server Solutions VMware Discover ways to streamline and simplify your assessment of the total acquisition costs of a server virtualization environment. Download Now
- Building the Virtualized Enterprise with VMware Iinfrastructure VMware VMware virtualization software has been adopted by over 120,000 enterprise ... Download Now
- VMware Infrastructure: A Guide to Bottom-Line Benefits VMware Frustrated by the high cost of maintaining or building ever-larger data centers? Get the facts you need to formulate your Virtualization Action Plan. Download Now
- Building the Virtualized Enterprise with VMware Infrastructure VMware This paper explains how adopting a virtual infrastructure -- comprised of server, storage, and networking virtualization technologies -- can help your organization build a sustainable competitive ... Download Now
- Leveraging SMB ERP for an Economic Recovery ZDNet Times are tough but better days are sure to follow. In the wake of an ... Download Now
Article Categories
- Security
- Security Solutions, IT Locksmith
- Networking and Communications
- E-mail Administration NetNote, Cisco Routers and Switches
- CIO and IT Management
- Project Management, CIO Issues, Strategies that Scale
- Desktops, Laptops & OS
- Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
- Data Management
- Oracle, SQL Server
- Servers
- Windows NT, Linux NetNote, Windows Server 2003
- Career Development
- Geek Trivia
- Software/Web Development
- Web Development Zone, Visual Basic, .NET

