When I have made changes on the DNS host.
How do I get the clients (servers) to update/flush their DNS cache, so they see the change right away?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
Depending on you distribution, the clients may not cache by default. For Ubuntu or CentOS, try this command: sudo /etc/init.d/nscd status
...to see if the caching demon is running. If it is, then your client is caching DNS and you can flush it with this: sudo /etc/init.d/nscd restart
if NSCD is not running then there is nothing to flush on the client and you need to: 1. make sure the old entry is not in the /etc/hosts file 2. make sure the DNS change has already propagated to any DNS slaves (check the resolv.conf for where it is resolving to)