Named tips: setting up maximum memory usage

I suggest setting up maximum memory that named can use – e.g. for zones and caching.

in named.conf use the following value in options {}; settings:

max-cache-size 50M;

This means that named shouldn’t use more than 50MB of system memory when available. A pretty good hack to make sure named doesn’t take all the server memory due to hack or flood from the local trusted users.

Leave a Reply