Linux – How to update/flush dns cache on clients

centosdomain-name-systemlinuxUbuntu

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?

Best Answer

You can restart BIND on Ubuntu using sudo rndc reload, on Centos I believe you have to /etc/init.d/bind restart.

You can also execute /etc/init.d/networking restart to flush the DNS/networking for local desktops running Ubuntu.

Related Topic