centos清除dns cache.

# /etc/init.d/nscd restart

# service nscd restart

# service nscd reload

# nscd -i hosts

https://www.2daygeek.com/flush-clear-dns-cache-on-ubuntu-centos-debian-fedora-mint-rhel-opensuse/# f

原文地址:https://www.cnblogs.com/jhj117/p/8335781.html