How to view and clear Bind DNS server's cache on Linux - LinuxConfig.org


#1
A configured domain name service ( DNS ) server such as Bind may store previously resolved domain names to a local cache. By default the cached records will be stored for 7 days. The cache can be reused for future domain name resolutions. First, let's see how we can view all cached domain name resolutions:
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-view-and-clear-bind-dns-server-s-cache-on-linux

#2

John Doe

In Centos 7, ouput folder is “/var/named/data/” and dump of cache is named “cache_dump.db”


#3

Lubos Rendek -> John Doe

Hi John,

Updated ! Thank you…