Caching nameserver [message #42692] |
Wed, 11 May 2011 23:18  |
mustardman
Messages: 91 Registered: October 2009
|
Member |
|
|
I have been looking into the possibility of enabling caching nameserver on one of my nodes. Most of the VPS's are used for email and with all the spam coming in it seems the majority of server resources are used for spamassassin dns lookups. I have read that spamassassin benefits quite a bit from caching nameserver.
The problem is that you cannot simply enable caching nameserver on a per VPS basis because my OpenVZ control panel (SolusVM) re-writes the resolv.conf file each time the VPS is rebooted.
So 1 possibility I can think of is to editing OpenVZ to re-write resolv.conf in the VPS with the localhost include in each VPS (which could cause unintended consequences if they do not have caching nameserver set up in every VPS).
The other possibility is to enable caching nameserver on the node itself which is probably a cleaner way to do it. I have not read any instructions for doing that on OpenVZ so perhaps it's not recommended or just won't work?
[Updated on: Thu, 12 May 2011 01:09] Report message to a moderator
|
|
|