sentora / sentora-core

Sentora is a web hosting control panel written in PHP for *NIX
GNU General Public License v3.0
653 stars 444 forks source link

[Feat Req] Create default DNS records on domain join. #115

Closed Chewza closed 1 year ago

Chewza commented 9 years ago

Wondering if it's possible to add an option to create default DNS entries once a new domain is added to the system. I know that there are multiple different modules to the way Sentora works, and that the goal is to not have each module dependent on each other. But if a check could be built into the system to see if the DNS module is active, option to create dns records.

The other possible solution is to create a link in the Domain Success notification when adding a domain which when clicked will create the dns entries for the recently added domain.

MBlagui commented 9 years ago

Not any one want auto DNS. It must be either enabled in package setup, so per customer or also server wide like backup.

PhilipMcGaw commented 9 years ago

Would also be nice if subdomain information was set up automagically when a subdomain is created.

boxbillinggit commented 9 years ago

+1

PhilipMcGaw commented 9 years ago

+1

Philip McGaw www.philipmcgaw.com 07969502077

@Philip_McGaw

On 23 Mar 2015, at 17:18, Jarek notifications@github.com wrote:

+1

— Reply to this email directly or view it on GitHub.

MBlagui commented 9 years ago

LOL If adding +100 would help guys. Donate to the project and give us a hand ;-).

denysvitali commented 9 years ago

Isn't everything into an existent DB table? Correct me if am I wrong schermata del 2015-03-23 20 30 01

MBlagui commented 9 years ago

All records are created in DB then a hook using a cron job will paste the infos into bind zones.

denysvitali commented 9 years ago

@MBlagui If you guys want that I could do it during my free time

ghost commented 9 years ago

It should be checkbox option in creating domain/subdomain form to add them automaticly to dns zone/create zone if not exist. Maybe in Sentora config we could set default state (checked/unchecked) for this options?

charan315 commented 9 years ago

Added auto create dns entries once domain/subdomain created: Update these files in your sentora:

for Domain: https://github.com/charan315/sentora-core/blob/patch-1/modules/domains/code/controller.ext.php changelog: https://github.com/sentora/sentora-core/pull/147/files

for SubDomain: https://github.com/charan315/sentora-core/blob/master/modules/sub_domains/code/controller.ext.php changelog: https://github.com/sentora/sentora-core/pull/148/files

Caffe1neAdd1ct commented 9 years ago

Instead of editing the subdomain and domain modules it might be worth having a new module with

AfterDomainCreation & AfterSubDomainCreation

Hook files inside a DNS Auto Create module?

This is exactly what the hooks are for... to stop extra functionality bloating the core code and making it hard for us to maintain.

+1 for the feature however this should have been implemented in a new module.

MBlagui commented 9 years ago

Agree another module would be nice. Same over creating the DNS in cloudflare instead.

M B

TGates71 commented 1 year ago

Same as a previous issue which has been bumped up.