DNS 刷新方法

Linux 刷新 dns 缓存

  1. 刷新DNS-Systemd Resolved
systemd-resolved --flush-caches
  1. 刷新DNS-NSCD
systemctl restart nscd.service

windows 刷新 dns 缓存

ifconfig/flushdns

Mac 刷新 dns 缓存

sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
posted @ 2021-04-13 17:53  易波叶平  阅读(53)  评论(0编辑  收藏  举报