We use cookies
We use cookies to optimize our website. By continuing to browse the site, you agree to our use of cookies.
New design
Control panel
  • Русский
  • Українська
  • English
  • UAH
  • USD
  • RUB
  • EUR
  • 0-800-307-307 Hotline
  • +38 (044) 392-74-33 Kiev
  • +38 (057) 728-39-00 Kharkiv
  • +38 (056) 794-38-31 Dnipro
  • +38 (032) 229-58-93 Lviv
  • +38 (048) 738-57-70 Odessa
  • +38(093) 170-15-42  Life
  • +38 (067) 400-88-44 Kievstar
  • +1(888)393-24-51  USA, Toll free
  • +44(131)507-01-14  Great Britain
  • +7 (499) 348-28-61 Moscow

3.13. Flushing the DNS cache

Caching DNS provides quick access to any domain and reduces the load on DNS-server by reducing the number of calls to it. However, caching has its drawbacks, which is expressed in the impossibility of opening a site when changing the IP address to which the domain refers. To update information from the system DNS cache clearing may be required DNS... Information can be cached both locally and on used DNS-servers (for example, Cloudflare/Google).

Local cache is a cache stored directly on the device being used.

To clear the cache DNS on Windows, do the following:
  1. Enter the command:
    ipconfig /flushdns

  2. Clickon Enter and wait for the command to complete:

If the message “The requested operation needs to be promoted", Then you need to run the command line as administrator.

If the message “Can't clear resolver cache DNS: Function execution error"Means your service is disabled. DNS-client. In this case, clearing the cache DNS not required as it doesn't work.

Linux does not cache DNS-requests if you are not using local DNS-server. If used, you need to determine which one DNS-Server is running on the computer, and restart it. Typically, this is BIND or nscd. Depending on the used DNS-server, in the terminal you need to execute one of the commands:
  • For BIND:
    /etc/init.d/named restart
  • For nscd:
    /etc/init.d/nscd restart
To clear the cache DNS on macOS, do the following:
  1. Run the command corresponding to the OS version you are using:
    • macOS 10.12 Sierra and later:
      sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache

    • OS X 10.11 El Capitan:
      sudo killall -HUP mDNSResponder
    • OS X 10.10 Yosemite:
      • Versions 10.10.4 and higher:
        sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
      • Versions 10.10.1-10.10.3:
        sudo discoveryutil udnsflushcaches
    • OS X 10.9 Mavericks:
      dscacheutil -flushcache; sudo killall -HUP mDNSResponder
    • Mac OS X 10.7 Lion and 10.8 Mountain Lion:
      sudo killall -HUP mDNSResponder
    • Mac OS X 10.5 Leopard and 10.6 Snow Leopard:
      dscacheutil -flushcache
    • Mac OS X 10.4 Tiger:
      lookupd -flushcache

Public cache DNS - cache stored on used devices DNS-servers. Clearing the public cache DNS only affects those who use them. If your device uses non-public DNS, and, for example, DNS-server of your provider, then clearing the cache of public DNS will not affect the information provided DNS-servers of your provider. To rectify the situation and quickly update your domain data, set up public DNS.

To clear the cache on public DNS Cloudflare, do the following:
  1. Openup this page.
  2. Fill in the fields and click "Purge Cache»:
    • «Domain Name"- specify the name of the domain for which you want to clear the cache.
    • «Record Type"- select the entry for which you want to remove information from the cache.
  3. Repeat the operation for each record for which you want to update information.
To clear the cache on public DNS Google, do the following:
  1. Openup this page.
  2. Fill in the fields, check the box next to "I am not a robot" and press "Flush cache»:
    • «Domain name"- specify the name of the domain for which you want to clear the cache.
    • «RR type"- select the entry for which you want to remove information from the cache.
  3. Repeat the operation for each record for which you want to update information.
To clear the cache on public DNS OpenDNS, do the following:
  1. Openup this page.
  2. In field "Enter a domain name to check"Specify the domain name and click"CHECK THIS DOMAIN»:
  3. Scroll down the page and click "REFRESH THE CACHE»: