My BIND9 is currently running fine but is there a way to set the expiration time/date of the cached names? If so, how?
Thanks in advance guys
The expiration time is known as the "TTL" or time to live. You set this variable in you configuration file, typically
/etc/bind/db.local or whatever config file you are using.
TTL is in seconds, so set it to a lower value, 60x60 = 3600 for an hour for examlpe
sudo -e /etc/bind/db.local
Set the ttl:
and restart bind.
For additional information see: