OpenVZ Forum


Home » General » Support » Caching nameserver (Is it useful)
Caching nameserver [message #42692] Wed, 11 May 2011 23:18 Go to previous message
mustardman is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: yum command not found within openvz container
Next Topic: How can we vzctl 101 set --cpuunits > 500 000
Goto Forum:
  


Current Time: Fri Aug 22 02:47:53 GMT 2025

Total time taken to generate the page: 0.09317 seconds