prevent making a .db file and writing to named.conf

mmgenius

Verified User
Joined
Jan 20, 2004
Messages
180
Is there a way to prevent DA, on domain or user basis, from making a zone file and adding it to named.conf?

(also in multiserver setup)

Thx
Maarten
 
Hello,

I'd guess no, as to prevent it you should return non zero code in PRE script. But in this case directadmin will give you an error message and terminate a procedure. You might want to delete line from named.conf as post fact, after directadmin finishes the whole procedure. But if you delete a zone file, you will be getting warnings on every backup of the account.
 
Also: DirectAdmin uses the presence of DNS (I'm not sure if the zone file itself, or the record in named.conf) to know whether a domain exists on the server or not, so if you delete one or both be careful you don't accidentally overwrite a current domain on the sever.

Jeff
 
Right you are, Jeff, I forgot to mention it. Directadmin checks named.conf in such a case.
 
Back
Top