为了提高DNS 解析的记录,很多操作系统都会提供缓存DNS 记录的功能,但是,这可能会为测试DNS 服务或域名设定带来麻烦。为了测试出准确的结果,我们需要强制刷新本地 DNS 缓存记录。
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
2、You can also try to flush DNS cache with this command:
sudo /etc/init.d/networking restart
3、Try also this command:
sudo /etc/init.d/dns-clean start
4、大招:重启机器