clear dedicate domain dns server cache

yingwei zhao 0 Reputation points
2023-05-10T07:14:15.0433333+00:00

on windows server 2019 how to clear dedicate domain dns server cache?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,427 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Luca Lionetti 3,131 Reputation points
    2023-05-10T07:54:24.45+00:00

    Hi

    Clearing DNS Cache on Windows Server With Command Prompt

    Using the command prompt to clear the cache :

    1. Click on the Start button and type cmd
    2. Open the command prompt
    3. Enter the following command in the prompt:
      ipconfig/flushdns

    To flush the DNS server cache, use any of the following solutions.

    Using a graphical user interface

    Open the DNS Management snap-in.

    Right-click on DNS in the left pane and select Connect to DNS Server.

    Enter the server you want to connect to and click Enter.

    Right-click on the server and select Clear Cache.

    Using a command-line interface

    The following command will clear the cache on <DNSServerName>. You can leave out <DNSServerName> to run against the local server:

    dnscmd <DNSServerName> /clearcache

    Hope this helps

    Cheers

    Luca


  2. yingwei zhao 0 Reputation points
    2023-05-11T00:58:59.9966667+00:00

    WeChat Image_20230511085758


  3. Luca Lionetti 3,131 Reputation points
    2023-05-11T18:09:01.7066667+00:00

    HI

    There isn't a command to delete a specific cache entry

    Cheers

    Luca

    0 comments No comments