I have a BIND nameserver on my network sitting on a machine with a lot of RAM. How can I increase performance? Any way to increase the TTL for which resolutions are stored in memory? Any way to "pre fetch" top domain names?
I have a BIND nameserver on my network sitting on a machine with a lot of RAM. How can I increase performance? Any way to increase the TTL for which resolutions are stored in memory? Any way to "pre fetch" top domain names?
BIND does it's own memory management, and so long as you've got plenty of RAM free no tweaking is necessary. Please do not screw with TTLs or anything else specified in an RFC. Seriously, people will want to hurt you just for asking that question. As for pre-caching, you can certainly do a
nslookup example.com
for all the various "common" domain names you want cached, but there should be relatively little benefit to this.It sounds like you're either chasing performance without a performance problem, or not filling us in on the actual problem you're facing. If it ain't broke, don't fix it. If DNS lookups are taking a notable amount of time you may want to use your ISPs (or other relatively-local) DNS servers as forwarders, as their "distance" should be less than your server doing fully recursive lookups, and you'd get the benefit of their caching as well.