ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Force Windows DNS to Flush Cache

    Scheduled Pinned Locked Moved IT Discussion
    dnswindows dnswindows server 2012 r2
    14 Posts 6 Posters 2.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Even for the server and what it hands out?

      1 Reply Last reply Reply Quote 0
      • dafyreD
        dafyre
        last edited by

        Open the DNS Manager, right click on server name, and then Clear Cache?

        0_1489153896738_upload-be12b02f-e09e-4040-a91e-ae14da4e1388

        1 Reply Last reply Reply Quote 0
        • dafyreD
          dafyre
          last edited by

          Or from the command prompt, try

          dnscmd /clearcache
          
          ObsolesceO 1 Reply Last reply Reply Quote 2
          • dafyreD
            dafyre @jt1001001
            last edited by

            @jt1001001 said in Force Windows DNS to Flush Cache:

            @scottalanmiller ipconfig /flushdns should do it I think

            This only clears the cache for client machines, AFAIK.

            jt1001001J 1 Reply Last reply Reply Quote 2
            • jt1001001J
              jt1001001
              last edited by

              Windows Server in powershell is Clear-DnsServerCache

              dafyreD 1 Reply Last reply Reply Quote 3
              • jt1001001J
                jt1001001 @dafyre
                last edited by

                @dafyre My apologies, you are correct ipconfig /flushdns is client cache only.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  We probably need to do both. But we knew the one 🙂

                  1 Reply Last reply Reply Quote 2
                  • dafyreD
                    dafyre @jt1001001
                    last edited by

                    @jt1001001 said in Force Windows DNS to Flush Cache:

                    Windows Server in powershell is Clear-DnsServerCache

                    I couldn't find that one with a google search... My GoogleFu is weak today.

                    1 Reply Last reply Reply Quote 0
                    • ObsolesceO
                      Obsolesce @dafyre
                      last edited by

                      @dafyre said in Force Windows DNS to Flush Cache:

                      Or from the command prompt, try

                      dnscmd /clearcache
                      

                      This is the one to use first on dns servers. Then the regular one for clients afterwards.

                      1 Reply Last reply Reply Quote 0
                      • bbigfordB
                        bbigford
                        last edited by bbigford

                        If you're going to use Clear Cache in the DNS snap-in GUI, you need to enable Advanced Features in the View drop down, to see that option.

                        1 Reply Last reply Reply Quote 0
                        • dbeatoD
                          dbeato
                          last edited by

                          Use the clear-dnsservecache cmdlet

                          https://technet.microsoft.com/en-us/itpro/powershell/windows/dns-server/clear-dnsservercache

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post