Managing DNS with IPCONFIG in Windows 2000 Pro
Takeaway: Most IT pros use the ipconfig command to view TCP/IP settings and renew a DHCP lease. But did you also know that you can use ipconfig to manage DNS settings on a computer? Find out how you can ipconfig to clear and view the resolver cache, and refresh DHCP leases.
Want more Win2K tips and tricks? Automatically sign up for our free Windows 2000 Professional newsletter, delivered each Tuesday!
You've probably used the ipconfig command to view TCP/IP settings and renew a DHCP lease. In addition to these tasks, ipconfig can also help you manage DNS settings on a computer.
For example, the DNS resolver cache tracks the results of DNS name resolution queries so that subsequent queries can be resolved from the cache for better performance. However, Windows caches failed DNS lookups as well as successful ones. If a DNS lookup fails because of a network problem (e.g., a DNS server is offline), you must clear the cache to enable the resolution to work after the network problem is resolved. To clear the resolver cache, use this command:
ipconfig /flushdns
On occasion, you might want to view the contents of the resolver cache. For example, you might want to determine how long before a value expires or identify the IP address for a given host name. Use this command to view the resolver cache:
ipconfig /displaydns
Finally, you can use ipconfig to refresh all DHCP leases and re-register the host's DNS names in its target DNS server:
ipconfig /registerdns
White Papers, Webcasts, and Downloads
- Tom Davenport Study: Linking decisions and information for organizational performance IBM Tom Davenport's new client study looks at approaches to linking ... 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
- Building the Virtualized Enterprise with VMware Iinfrastructure VMware VMware virtualization software has been adopted by over 120,000 enterprise ... Download Now
- The Impact of Virtualization Software on Operating Environments VMware Today's use of virtualization technology allows IT professionals to ... Download Now
- Five Steps to Determine When to Virtualize YourServers VMware Thinking of virtualizing the servers at your company? Use this step-by-step guide to determine when's the best time to make your big move. 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

