Closed Chewza closed 1 year ago
Not any one want auto DNS. It must be either enabled in package setup, so per customer or also server wide like backup.
Would also be nice if subdomain information was set up automagically when a subdomain is created.
+1
+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.
LOL If adding +100 would help guys. Donate to the project and give us a hand ;-).
Isn't everything into an existent DB table? Correct me if am I wrong
All records are created in DB then a hook using a cron job will paste the infos into bind zones.
@MBlagui If you guys want that I could do it during my free time
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?
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
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.
Agree another module would be nice. Same over creating the DNS in cloudflare instead.
M B
Same as a previous issue which has been bumped up.
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.