Come svuotare la cache DNS? (2022)

Flush DNS can assist you in resolving various DNS-related issues

Flush DNS command assists in clearing out-of-date or corrupted DNS resolver cache. As your PC automatically caches IPs and other DNS results to initiate further requests to a similar hostname in a more rapid way, it might also cache certain old or malicious data. Di conseguenza, you might not be able to get in touch with hosts properly. In reality, it is one of the best solution to fix INET_E_RESOURCE_NOT_FOUND issue.

No matter what Windows version or browser you prefer, you can manually boost the process and clear DNS Cache using the simple milestones reviewed below. To simplify the navigation, refer to the Table of Contents to jump to the tutorial for your OS version.

The following guidelines explain how to flush DNS depending on the OS:

  • finestre 11/10/8/7;
  • MacOS versions from 10.6 (Snow Leopard) A 10.15 (Catalina);
  • Linux;
  • Ubuntu;
  • Cromo.

Instructions to Flush DNS Cache on Microsoft Windows

finestre 11/10

Flush DNS on Windows 11/10 is an easy command that must be provided in Windows Command Processor, also known as Command Prompt (CMD). You need to, Tuttavia, open CMD with Administrator’s rights. This is what you should do.

  1. In Windows 10, refer to Windows search and specify Prompt dei comandi.
  2. Right-click Command Prompt e seleziona Esegui come amministratore.
  3. In Controllo dell'account utente mettere in guardia, Selezionare .
  4. In CMD, provide ipconfig/flushdns e colpire accedere.ipconfig/flushdns

finestre 8

For flushing DNS on Windows 8 O 8.1, apply Command Prompt with Admin’s rights. Refer to these milestones to clear your DNS cache.

  1. In Windows 8/8.1, refer to Windows search and indicate Prompt dei comandi.
  2. Right-click Command Prompt e seleziona Esegui come amministratore.
  3. In Controllo dell'account utente mettere in guardia, scegliere .
  4. In CMD, specificare ipconfig/flushdns e colpire accedere.

finestre 7

For flushing DNS cache on Windows 7, you should open Command Prompt as Administrator. Here’s the tutorial explaining how to do it.

  1. Clicca su Start > All Programs > Accessories and find Prompt dei comandi.
  2. Fare clic con il pulsante destro del mouse Prompt dei comandi e scegli Esegui come amministratore.
  3. In CMD, tipo ipconfig/flushdns e premere accedere.

Windows XP / 2000 / NT / 98

If you’re searching on how to clear DNS cache on previous Windows versions, look no further. All you should do is:

  1. Vai a Start > Correre > cmd.exe > OK.
  2. Specificare ipconfig/flushdns e colpire accedere.

Instructions to Flush DNS Cache on Mac OS

To clear DNS Cache on Mac OS X systems, follow the tutorial provided below. Please pay attention to the commands given for various Mac OS versions – not all of them are identical for every OS.

Mac OS 10.15: Catalina

To flush DNS on MacOS Catalina, implement these milestones.

  1. Start Terminal (Application Utilities Terminal or provide Go > Utilities > Terminal)
  2. Specificare sudo killall -HUP mDNSResponder e colpire accedere to launch the command.
  3. Provide your password (it might not come up on the screen while you type).
  4. Colpo accedere. Shut down the Terminal.Mac OS 10.15: Catalina - sudo killall -HUP mDNSResponder

Mac OS 10.14: Mojave

Clearing DNS on MacOS Mojave is a fast and simple process if you refer to these milestones.

  1. Start Terminal (Application Utilities Terminal or click Go > Utilities > Terminal).
  2. Specificare sudo killall -HUP mDNSResponder e colpire accedere to execute the command.
  3. Provide your password (it might not come up on the screen while you type).
  4. Colpo accedere. Shut down the Terminal.

Mac OS 10.13: High Sierra

Flushing DNS on MacOS High Sierra can be implemented by referring to these milestones.

  1. Launch Terminal (Application Utilities Terminal or click Go > Utilities > Terminal).
  2. Specificare sudo killall -HUP mDNSResponder e colpire accedere to launch the command.
  3. Provide your password (it might not come up on the screen while you type).
  4. Colpo accedere. Shut down the Terminal.

Mac OS 10.12: Sierra

If you would like to flush DNS on MacOS Sierra, refer to these milestones.

  1. Launch Terminal (Application Utilities Terminal or click Go > Utilities > Terminal).
  2. Specificare sudo killall -HUP mDNSResponder e colpire accedere to launch the command.
  3. Provide your password (it might not come up on the screen while you type).
  4. Colpo accedere. Shut down the Terminal.Mac OS 10.12: Sierra - flush DNS on MacOS SierraThis command flushes DNS cache in the majority of Mac OS X systems except Yosemite, Lion and previous versions.

Mac OS X 10.10: Yosemite

For the purpose of flushing DNS on MacOS X Yosemite, perform these milestones.

  1. Launch Terminal (Application Utilities Terminal or choose Go > Utilities > Terminal).
  2. Specificare sudo discoveryutil udnsflushcaches e colpire accedere to execute the command.
  3. Provide your password (it might not come up on the screen while you type).
  4. Colpo accedere. Shut down the Terminal.flush DNS on macOS X Yosemite

Clearing DNS Cache on Linux or Ubuntu

Linux

  1. Start Terminal by applying the Ctrl + Alt + T comando.
  2. Linux suggests different commands for DNS flushing. Please find them below:
  3. For the purpose of clearing nscd DNS cache: sudo /etc/init.d/nscd restart;
  4. For the purpose of clearing dnsmasq DNS cache: sudo /etc/init.d/dnsmasq restart;
  5. For the purpose of clearing BIND DNS cache, apply one of the below-mentioned commands:
    1. sudo /etc/init.d/named restart;
    2. sudo rndc restart;
    3. sudo rndc exec.Clear DNS Cache on Linux

Ubuntu

  1. Start Terminal by means of the Ctrl + Alt + T hotkey.
  2. Provide the following command: sudo /etc/init.d/dns-clean restart e colpire accedere.Clear DNS Cache on Ubuntu
  3. A questo punto, specificare sudo /etc/init.d/networking force-reload e premere accedere.Clear DNS Cache on Ubuntu - sudo /etc/init.d/networking force-reload

Flushing DNS on Google Chrome

Google Chrome browser is furnished with an in-built caching system. To clear the DNS cache from Chrome, perform these milestones.

  1. Start Chrome browser. Copy and paste the below-said information into the Chrome address bar, then hit accedere.chrome://net-internals/#dns
  2. Scegliere Clear host cache.
  3. Then click on Sockets.
  4. Clic Flush socket pools.Flush DNS on Google Chrome

If you want to clear the DNS cache on browsers, such as Firefox or Safari, we offer to reset them.

All done! We are happy if our guide on how to flush DNS on Windows, Mac, Linux, Ubuntu, or Chrome was beneficial to you in fixing the issue.

Circa l'autore

Valdis Kok

Ingegnere della sicurezza, reverse engineering e memory forensics

Lascia un commento