How to enable DNS caching?
Hello There,
I'm using a Readhat as gateway and I've notice that there are a lot a DNS request that are send many times for the same domain which is hammering the DNS server and create slowness.
So I was thinking to enable DNS caching in nscd
In the Man page I've found the following:
*************
enable-cache hosts yes
positive-time-to-live hosts 3600
negative-time-to-live hosts 20
suggested-size hosts 211
check-files hosts yes
*************
Will this do the job?
Best regards,
Angel.
|