Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Linux Tutorials»How to Flush DNS Cache in Ubuntu and LinuxMint

    How to Flush DNS Cache in Ubuntu and LinuxMint

    By RahulJanuary 29, 20182 Mins Read

    DNS (Domain Name System) is one of the backbones of the Internet. You can’t imagine running websites over the public network where millions of users around the world. Think there are no DNS available and you need to access the website using IP Address, Then it would be hard to remember to IP address of thousands of websites we visit daily. This is DNS, which is responsible to provide IP address for a domain name and we access websites from backend web servers.

    Advertisement

    You may like:

    • Disable Local DNS Caching on Ubuntu and LinuxMint
    • Flush DNS Cache on Windows and MacOS
    • Flush DNS Cache

      Execute the below command to Flush DNS cache on your Ubuntu and Linux Mint systems.

      sudo /etc/init.d/dns-clean start
      

      Why You need to flush DNS cache?

      Sometimes, the websites moved to other servers or simply changes there IP address for some reasons. Now the responsibility of DNS to resolve the new IP address to allow uninterpreted access of websites. Our systems keep a cache of DNS records, which allows for faster resolution of IP address. After changing of IP address of any domain, it takes time to update local cache. In the meantime, you may get a broken page error. In this situation, You need to flush the local DNS cache. Now the question is How to Flush the DNS Cache in Ubuntu and Linux Mint? and I Hope this article helped you to do this.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    An Introduction to the “./configure” Command: Compiling Source Code in Linux

    Getting Started with Linux Command line: The Beginning

    Backing Up Your Linux System with Rsync: A Step-by-Step Guide

    View 3 Comments

    3 Comments

    1. Aheinousanus on May 21, 2021 5:14 pm

      Nice. Just twhat I was looking for. Thanks.

      Reply
    2. Lee Underwood on August 13, 2018 9:23 pm

      Thanks! Worked great on Ubuntu 14.04.

      Reply
    3. Pinoy tambayan on February 10, 2018 7:58 pm

      Hi Rahul,

      I’m using linus server and hosted a wordpress site on it but when i open my site even after 3 – 4 days i can’t see my new posts without clearing the browser’s cache. Can you tell me the reason behind this?

      Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Split Command in Linux With Examples (Split Large Files)
    • Test Your Internet Speed from the Linux Terminal
    • 11 Practical Example of cat Command in Linux
    • sleep Command in Linux with Examples
    • 20 Basic Linux Commands for the Beginners (Recommended)
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.