Can I create a package without DNS and email?

TheBear

Verified User
Joined
Apr 16, 2004
Messages
78
Hello,

We are looking to be able to create some hosting accounts but wish to use our existing DNS and Email solutions rather than creating those on DA.

Is there a way to create a package that will not automatically create the DNS entries and will 'know' that we do not want email for the listed domain handled by DA?

I realize we can manually go into the account and delete the DNS entries as well as indicate that email is not handled by DA for a specific domain, we would like to try and do this on a package basis.

If it is not doable by creating a specified package, we would not be adverse to making all accounts on this particular DA box to not have local DNS and email.

Thanks for any suggestions on how to accomplish the above.

Dale
 
Create a custom skin that doesn't have settings for the services you don't want to offer.

Create a post-site-setup script to make the changes that need to be done.

Details are in other posts on these forums.

Jeff
 
I could. I could spend some time searching the forums. (I don't have a photographic memory.)

Should I quote you my regular hourly rate, or my overtime hourly rate :D :D :D .

Seriously, we're all volunteers here, and we all spend as much time helping others as we can.

I spend over two hours every day on these forums (that's us$73,000 worth per year). I try to read all posts and answer as many posts as I am able. I can't do that if I have to do all the legwork, so I answer in detail what I can without having to do much research.

Sometimes I do research, because I need the information for myself, but otherwise I leave it up to you :) .

Don't be put off by that Administrator title; it's a volunteer position :) .

Jeff
 
jlasman said:
I could. I could spend some time searching the forums. (I don't have a photographic memory.)

Should I quote you my regular hourly rate, or my overtime hourly rate :D :D :D .

Seriously, we're all volunteers here, and we all spend as much time helping others as we can.

I spend over two hours every day on these forums (that's us$73,000 worth per year). I try to read all posts and answer as many posts as I am able. I can't do that if I have to do all the legwork, so I answer in detail what I can without having to do much research.

Sometimes I do research, because I need the information for myself, but otherwise I leave it up to you :) .

Don't be put off by that Administrator title; it's a volunteer position :) .

Jeff

I understand your position.. Thanks for your help.

Please understand that some of us do search for this type of info before posting.

In my opinion, it's easier to search than to post.

I usually only ask if I can't find the info by searching the very forum you had asked me to search again for the info I couldn't find already. :)

I will search again.

I am not saying the info doesn't exist, just that I may not be searching for it with the right keywords etc..
 
A few guides that my be useful:
Custom Package Options:
http://www.directadmin.com/features.php?id=479

Post Scripts for use creations (note that the custom package options are passsed to the user_create_post.sh script:)
http://www.directadmin.com/features.php?id=183

Skins are stored in:
/usr/local/directadmin/data/skins/*

In your post.sh script, to disable dns, remove the entry from the named.conf and delete the domain.com.db file from /var/named.

For email, the simplest way is to simply remove the domain from the /etc/virtual/domains file. Once the domain is out of that, then everythign else is ignored wrt. email.

For both of these items, you'll want to give the user a custom skin so these options don't show up. (just copy our enhanced skin to a new directory under a new name, and remove the items from the skins)

For everyones benefit, I've added search fields into the forum's seach page for the knowledgebase and also the DA versions system. It should help everyone ;)

John
 
Back
Top