Results 1 to 4 of 4

Thread: How to flush dns cache on windows domain controller

  1. #1
    Join Date
    Nov 2008
    Posts
    1,185

    How to flush dns cache on windows domain controller

    I am in search of a way to flush my DNS cache on my website running under Windows 2003 server. Is this possible? Can I flush dns cache on windows domain controller? Or does anyone have any other ideas how this could be automated?

  2. #2
    Join Date
    Apr 2008
    Posts
    3,339

    Re: How to flush dns cache on windows domain controller

    In Microsoft Windows, you can use the command ipconfig /flushdns to flush the DNS resolver cache:

    Code:
    C:\>ipconfig /flushdns
    You can also use the command ipconfig /displaydns to view the DNS resolver cache.

  3. #3
    Join Date
    May 2008
    Posts
    991

    Re: How to flush dns cache on windows domain controller

    You can also do so using the following script as an alternate:
    Code:
    dim ws
    set ws=CreateObject("Wscript.Shell")
    ws.exec "%COMSPEC% /c ipconfig /flushdns"
    Just save this script in a file and run it whenever you want.

  4. #4
    Join Date
    May 2008
    Posts
    1,304

    Re: How to flush dns cache on windows domain controller

    This can be achieved under Windows 2003 server in two ways:
    1. Start the Microsoft Management Console (MMC). From the View menu, select Advanced. Select and right-click the Cached Lookups tree node from the left-hand pane. Select Clear Cache from the context menu.
    2. From the command prompt, type:
      Code:
      dnscmd /clearcache

Similar Threads

  1. Replies: 2
    Last Post: 17-01-2011, 01:43 PM
  2. Replies: 7
    Last Post: 28-12-2010, 10:05 PM
  3. How To Flush Linux DNS Cache?
    By LinuxeD in forum Operating Systems
    Replies: 3
    Last Post: 03-08-2009, 07:49 PM
  4. unable to flush dns cache
    By Gruss in forum Networking & Security
    Replies: 4
    Last Post: 11-06-2009, 07:32 PM
  5. Replies: 4
    Last Post: 15-05-2009, 11:48 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,077,889.25362 seconds with 16 queries