windows dns cache tips

sometimes windows will display some bizarre behavior due to its built-in dns cache. be forewarned, most of these procedures require administrative privileges. if you’re just a regular user, you’re out of luck. also, there are gui interfaces for most of these, but i’m too busy to waste the time with 'em.

  • turn off dns caching:

  • + net stop dnscache

  • disable the dns cache service:

  • + sc [servername] config dnscache start=disabled

  • display the dns cache:

  • + ipconfig /displaydns

  • flush the dns cache:

  • + ipconfig /flushdns