Em diversos casos, limpar o cache do sistema pode resolver problemas de desempenho e exibição.
Primeiro passo
Segundo passo
ipconfig /flushdns
Primeiro passo
Segundo passo
dnscacheutil --flushcache
Primeiro passo
Segundo passo
lookup --flushcache
Primeiro passo
Segundo passo
sudo systemd-resolve --flush-caches
Primeiro passo
Segundo passo
sudo systemctl restart nscd
Primeiro passo
Segundo passo
sudo systemctl restart dnsmasq
Distribuição | Serviço Padrão (Versões Recentes) | Comando Principal |
---|---|---|
Ubuntu (17.04+) | systemd-resolved | sudo systemd-resolve --flush-caches |
Debian (10+) | systemd-resolved | sudo systemd-resolve --flush-caches |
Fedora | systemd-resolved | sudo systemd-resolve --flush-caches |
CentOS (8+) / RHEL (8+) | systemd-resolved | sudo systemd-resolve --flush-caches |
Arch Linux | systemd-resolved | sudo systemd-resolve --flush-caches |
Linux Mint | Pode variar, frequentemente dnsmasq | sudo systemctl restart dnsmasq |
Versões Antigas | nscd ou dnsmasq | sudo systemctl restart nscd ou sudo /etc/init.d/nscd restart |