Dumping and reloading your DNS cache
In this post I will share two simple commands that allows you to dump and/or reload a Bind DNS server cache. This is useful when you need to do some troubleshooting in the server.
First, sending the SIGINT signal to the named process forces it to dump its cache:
# kill -INT $(cat /var/run/named/pid)
Finally, sending the SIGHUP signal to the named process forces it to reload (clean) the cache:
# kill -HUP $(cat /var/run/named/pid)














