Matus UHLAR - fantomas wrote:
On 28.08.08 08:41, Marc Perkel wrote:
Here's something I threw together to make sure the /etc/resolv.conf
points to a working nameserver.
do you have problems with nameservers? Do you run own one?
I guess that setting timeout, rotate and attempts options in resolv.conf
could help you more than such script
The problem is that there's so many DNS calls that if the first
nameserver in the list isn't working then it's just too slow and email
backs up, fills memory, things time out, and it isn't pretty. My name
servers are generally reliable but if I need to reboot a server or
something crashes I need everything to switch over automatically. So I
run 3 caching name servers in my main cluster because I'm a redundancy
freak and triple redundancy works. I'm not that into rotating because
the caching works best for speed if they are al hitting one nameserver
first. The others just sit there unless they are needed.
I'm using OpenVZ for everything now so running some extra caching name
servers is easy to do.