Oct 10, 2018

[HDGEM] How to Flush BIND DNS Cache

If you're using BIND, you can clear DNS cache by using one of the following commands:

  1. sudo /etc/init.d/named restart
  2. sudo rndc restart
  3. sudo rndc exec

BIND version 9.3.0, and greater, support flushing DNS cache for a particular domain, as well as for the LAN, or the WAN. You can use the following commands to make use of this feature:


  • To clear DNS cache for a particular domain, use "sudo rndc flushname beebom.com"
  • To clear DNS cache for LAN, use "sudo rndc flush lan"
  • To clear DNS cache for WAN, use "sudo rndc flush wan"


--
Posted By Blogger to HDGEM at 3/01/2017 12:41:00 PM