Ubuntu uses the command to refresh the DNS cache. Step

  

If the DNS cache is not cleaned up in time, it may cause problems such as the website being unable to open and not being able to access the network. How to refresh the DNS cache under Linux? The following small series will introduce you to Ubuntu to refresh the DNS cache, let's learn together.

Recommended: Ubuntu gnome 32-bit standard edition download

Today in Ubuntu to a Web site to replace the DNS, try to reconnect, found it impossible to open, it had to do a ping test I found that the ip is still the original address, which is obviously a problem with the local DNS cache. Everyone knows that refreshing the local DNS cache under Windows can be done with ipconfig /flushdns. So how to achieve it under Linux? Very simple, it is also a matter of order.

sudo /etc/init.d/networking restart

The above is how Ubuntu refreshes the DNS cache. Refreshing the DNS cache can be solved with only one command. Regular DNS refresh can be improved. Website access speed.

Copyright © Windows knowledge All Rights Reserved