How do you clear DNS cache Linux Centos?

KellyPoima

New member
How do you clear DNS cache Linux Centos?
Answer
Flush DNS cache on Centos Server
  • SSH into your Centos Server as an account that has the necessary permissions (root works)
  • Enter “service nscd restart” and press enter.
  • Next Enter “/etc/init.d/dnsmasq restart” and press enter.
  • Enter “nslookup [domainname.com]” and press enter to confirm the record is refreshed.
 

Tìm kiếm

Back
Top