Centos – BIND keep crashing – need to investigate

bindcentos

Named/BIND is crashing every few days, usually I have few tools that take care of such crash and restart the service but lately they can't really restart it. What's odd is that when I try to manually restart I get this error:

named failed to start named dead but
subsys locked

When running this command:

ps aux | grep named

There is some output indicating that the service is still "running" and deleting /var/lock/subsys/named or the pid file won't help. The only thing that help is kill -9 (and I hate running that command)

Looking at my /var/log/messages don't give me much clues about what happened there.
What I'd like is to understand what happened there, it bugs me because having my domain name server down is critical.

Could you share if you had similar problems? or how I could investigate further such problems?

I am running centos 5.3 – 64bit –
kernel:
2.6.18-128.2.1.el5.028stab064.4 / BIND 9.3.4-P1

Thanks,

Best Answer

The version of BIND that you are running seems to be susceptible the remote denial of service recently advertised in CVE-2009-0696. Exploits are available in the wild and your frequent crashes may relate to this. I'd advise you to upgrade as soon as you can and then see if the problem persists.