linux刷新dns缓存_Linux和Windows客户端的刷新DNS缓存

linux刷新dns缓存

We may need to flush DNS cache of our client when the site’s DNS has been changed.

站点的DNS更改后,我们可能需要刷新客户端的DNS 缓存 。

同花顺DNS缓存的Linux使用NetworkManager /的dnsmasq ∞ (Flush DNS cache of Linux with NetworkManager/dnsmasq ∞)

You may simply restart NetworkManager by

您可以通过以下方式重新启动NetworkManager

sudo systemctl restart NetworkManager

使用nscd在(旧)Linux上刷新DNS缓存 (Flush DNS Cache on (Old) Linux with nscd)

1) Use su – to get root privilege or sudo with the following command:

1)使用su –通过以下命令获取root特权或sudo:

 # /etc/rc.d/init.d/nscd restart

or

要么

# service nscd restart

在Windows上刷新DNS缓存: (Flush DNS Cache on Windows:)

1) Log in as a Administrator on Windows XP and previous version.
2) “Start->run” then run “cmd.exe”.
3) At the command prompt run

1)在Windows XP和早期版本上以管理员身份登录。
2)“ 开始 ->运行”,然后运行“ cmd.exe”。
3)在命令提示符下运行

ipconfig /flushdns

For Windows Vista, Windows 7 and later version:
1) “Start->All Programs->Accessories”
2) Right click on the command prompt and choose run as administrator.
3) At the command prompt run

对于Windows Vista,Windows 7和更高版本:
1)“开始->所有程序->附件”
2)右键单击命令提示符,然后选择以管理员身份运行。
3)在命令提示符下运行

ipconfig /flushdns

Chrome浏览器的嵌入式DNS缓存∞ (Flush DNS cache of Chrome ∞)

Open the URI:

打开URI:

chrome://net-internals/#dns

in Chrome’s address bar.

在Chrome的地址栏中。

Then click the “Clear host cache” button in the configuration page.

然后在配置页面中单击“清除主机缓存”按钮。

翻译自: https://www.systutorials.com/flush-dns-cache-of-linux-and-windows-client/

linux刷新dns缓存


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部