刷新DNS缓存

2022-07-20

1、Windows

在cmd里输入以下命令:

ipconfig/flushdns

2、Linux

nscd是一个很棒的DNS缓存服务

2.1安装

yum install nscd -y

2.2刷新DNS

sudo /etc/init.d/nscd restart

3、Mac

在终端执行以下命令:

sudo killall -HUP mDNSResponder && echo macOS DNS Cache Reset

标题:刷新DNS缓存
作者:lianglaifu
地址:https://llfu.life/articles/2022/07/19/1658213188137.html