Method 1
Install first the nscd daemon with this command from the terminal:
sudo apt-get install nscd
Then clear your DNS data with this command:
sudo /etc/init.d/nscd restart
Method 2
You can also try to flush DNS cache with this command:
sudo /etc/init.d/networking restart
Method 3
Try also this command:
sudo /etc/init.d/dns-clean start
Install first the nscd daemon with this command from the terminal:
sudo apt-get install nscd
Then clear your DNS data with this command:
sudo /etc/init.d/nscd restart
Method 2
You can also try to flush DNS cache with this command:
sudo /etc/init.d/networking restart
Method 3
Try also this command:
sudo /etc/init.d/dns-clean start
本文提供了三种有效的方法来清除Linux系统的DNS缓存:通过安装并重启nscd服务;重启networking服务;使用dns-clean工具。

2930

被折叠的 条评论
为什么被折叠?



