Change A record in WHM upon account creation
Hey guys,
Is it possible to set a custom A record on a zone file during account creation in WHM? I will be trying to use WHMCS to pass in a user field to WHM, to create a custom A record during sign-up so the user doesen't have to go into the DNS Zone editor afterwards.
Thanks,
JP
-
This leads me to another question, can you assign different zones to different packages? 0 -
[quote="Todesengel, post: 1686741">This leads me to another question, can you assign different zones to different packages?
Unfortunately, cPanel doesn't support zone templates on a per-user or per-package basis right now. I found thread discussing a similar topic: If you give a little more detail I might be able to assist. Ie, does the record added depend on the package itself, to where a user on a specific package should always have a certain record?0 -
Well, I am trying to create a DNS only package. And I would like to give the client the ability to specify certain records during registration. I want to limit what they can modify in the DNS editor, so I was going to use my own control panel and only display A and CNAME records while limiting CPANEL access for the end user. I got this part working, I just don't know how to let them specify what A and CNAME records they want during registration. 0 -
When the user signs up, I suppose you could have something where they specify the DNS records they want, then have the script hook pick that data up and create the records after the account is created. Alternatively, you could have your registration system create the records after the account is set up using the API: 0 -
[quote="Todesengel, post: 1687361">Well, I am trying to create a DNS only package. And I would like to give the client the ability to specify certain records during registration.
Note that beyond the custom script, you may want to submit a feature request for this via: Submit A Feature Request Thank you.0
Please sign in to leave a comment.
Comments
6 comments