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

你可能感兴趣的:(centos清除dns cache.)