Este artigo fornece instruções sobre como limpar o cache DNS em computadores e navegadores da web. Esse procedimento é necessário para que as resoluções armazenadas em cache anteriormente sejam limpas e a pesquisa subseqüente seja executada com base nas configurações de DNS recém-configuradas.
Solução
As tabelas a seguir fornecem instruções para limpar o cache DNS em computadores e servidores. Os comandos precisam ser executados no prompt de comando com privilégios de administrador.
Windows 7 and Earlier
- Click the Start Menu
- Go to All Programs
- Choose Accessories and right-click Command Prompt
- Choose Run as Administrator
Run the following command in the command line and hit enter
ipconfig /flushdns
Windows 8
Press the Windows Key or hover your mouse over the bottom left corner and click the Windows Icon
Begin typing Command Prompt
Right-click the application and select Run as Administrator
Run the following command in the command line and hit enter
ipconfig /flushdns
OS X 10.4 TIGER
Click the Terminal icon in the dock or in Finder under Application/Utilities/Terminal
Run the following command in the command line and hit enter
lookupd -flushcache
leopard_os_x.gif OS X 10.5 and 10.6 LEOPARD
Click the Terminal icon in the dock or in Finder under Application/Utilities/Terminal
Run the following command in the command line and hit enter
dscacheutil -flushcache
OS-X-Lion-Logo.jpg OS X 10.7 and 10.8 Lion
Click the Terminal icon in the dock or in Finder under Application/Utilities/Terminal
sudo killall -HUP mDNSResponder
apple-logo-600px-304.jpg OS X 10.9 and 10.10.4 Yosemite, 10.11 El Capitan and 10.12 Sierra
Click the Terminal icon in the dock or in Finder under Application/Utilities/Terminal
sudo dscacheutil -flushcache
sudo killall -HUP mDNSResponder
871px-Linux_logo.png Linux (most distributions)
Open a terminal window (gnome-terminal, konsole, xterm, etc)
sudo /etc/init.d/nscd restart
or
sudo /etc/init.d/nscd restart
ubuntu-logo1.gif Ubuntu Linux
Open a terminal window
Run the following command in the command line and hit enter
sudo service network-manager restart