On BNET: 3 worst things about the iPhone 3G S

Troubleshoot DNS with ipconfig in Windows 2000

Tags: Domain names, NETWORKING, Jim Boyce, DNS, resolver, IP, Microsoft Windows 2000, Microsoft Windows, Windows 2000 Professional Tips Newsletter

  • Save
  • Print
  • Recommend
  • 7

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!

  • Save
  • Print
  • Recommend
  • 7

Print/View all Posts Comments on this article

How do you get rid of all these dns entries? charles.thompson@... | 08/02/05
Are you referring to DNS cache or Firewall configuration? urbantec92@... | 08/02/05
Solved charles.thompson@... | 08/02/05
null djameson@... | 08/02/05
You're using Spybot, aren't you? YetAnotherAdmin | 08/02/05
Bingo you win the prize! charles.thompson@... | 08/02/05
RE: Troubleshoot DNS with ipconfig in Windows 2000 akramzeya@... | 09/19/07
about ipconfig akramzeya@... | 09/19/07
RE: Troubleshoot DNS with ipconfig in Windows 2000 Parthasarathi.webmail@... | 10/17/07

What do you think?

White Papers, Webcasts, and Downloads

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

SmartPlanet

advertisement
Click Here