PDA

View Full Version : Turing off named


barry
01-26-2004, 06:38 PM
We are using a different DNS solution than the directadmin named setup. Is there a way to have direct admin stop warning me that named is down?

-Barry

ProWebUK
01-26-2004, 08:30 PM
/usr/local/directadmin/data/admin/services.status

change:

named=ON

to:

named=OFF

and stop named from starting upon boot:

chkconfig named off

Chris

DirectAdmin Support
01-27-2004, 09:55 AM
Hello,

DA will still call:

serivce named reload

so you might want to edit:

/etc/init.d/named

and just add: exit 0;

to the very top of the reload part, so that DA will think everything is fine, while nothing will be run.

John

barry
01-27-2004, 11:36 AM
nice... thank you.

Is there a way to my own applications to this file?

ProWebUK
01-27-2004, 11:45 AM
Not sure....... but probably not (without adding some extra code-for example how to understand if it its down or not etc)

However, there is always sim (for xinetd and anythinng else you want :) )

Chris