ispCP - Board - Support
DNS Templates - Printable Version

+- ispCP - Board - Support (
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Tickets / Roadmap / Timeline (/forum-50.html)
+--- Thread: DNS Templates (/thread-8920.html)

Pages: 1 2

DNS Templates - datacompboy - 12-24-2009 02:25 AM

Since lot of sites uses gmail for its mail, i have added in DNS editor templates selector.

Patch uploaded here (patch have re-uploaded!)
And add in database into ENUM one more type: 'INCLUDE'. You can do that with query
ALTER TABLE `domain_dns` CHANGE `domain_type` `domain_type` ENUM( 'A', 'AAAA', 'CERT', 'CNAME', 'DNAME', 'GPOS', 'KEY', 'KX', 'MX', 'NAPTR', 'NSAP', 'NS', 'NXT', 'PTR', 'PX', 'SIG', 'SRV', 'TXT', 'INCLUDE') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'A'";

It adds 4 DNS templates, all in group "mail":
- no-mail
adds NO records. if you add it, you remove all default mail-related DNS records
- google-mail
adds MX records for gmail, mail => cname, spf TXT record for gmail
- yandex-mail
adds MX record for yandex.mail
- mail (default template, used if no other template used)
adds default MX, TXT and CNAME records as ispcp normally do.

In GUI, you can add/edit record of type "INCLUDE".
When you select "INCLUDE" record type, you saw drop-down with select of no-mail / google-mail / yandex-mail.

Just add google-mail template, and domain ready to work with google.

For google domain auth add CNAME record as alwasys.

RE: DNS Templates - uwe - 01-10-2011 09:56 AM

didn't this patch gain any popularity ? how did developers find it ? are you still maintaining the code/patch datacompboy?

RE: DNS Templates - datacompboy - 01-10-2011 03:14 PM

I have no feedback except you, so maintains it only for my own use.
When i'll upgrade panel to 1.0.7, will post updated patch.

RE: DNS Templates - Zothos - 01-10-2011 06:56 PM

Hallo Datacompboy,

your post have not been ignored. For better tracking, please open a ticket at our bugtracker and attach your patch there Smile

RE: DNS Templates - uwe - 01-12-2011 10:26 PM

I hope its ok to discuss this feature here . or should it be on the ticketing system ?

I wonder if its not better to be able to select the template on domain creation instead of in the manual dns record?

RE: DNS Templates - datacompboy - 01-12-2011 10:40 PM

Have support for record-templates are much powerful, than just single profile on creation, and one not disable other Smile

Record-templates allow you to have maintenable set of mutual exclusive features over DNS: for example, it can be mail templates (that one i was required and made feature for); jabber profiles (again: local, external host, google, yandex); may be anything else -- any service, that requires to work setting bunch of DNS records can be made via templates.

Additional feature (that i will post soon for 1.0.7) is parametrized templates -- when you not only select profile ("jabber-external", f.e.) but also provide string with paramether, that will be substituted in template (f.e. for "jabber-external" it should be IP of server, handling xmpp traffic for that domain)

RE: DNS Templates - marchaos - 01-14-2011 06:55 PM

Control of DNS-templates must be added through the GUI. You need add admin possibility to add, copy, remove templates.

RE: DNS Templates - datacompboy - 01-14-2011 08:40 PM

Hmmm... Yes, good thing. Will think over it too.

RE: DNS Templates - uwe - 01-16-2011 09:02 AM

Well, what would be the best of the two worlds ? maybe really fancy !

All templates are processed using the manual DNS records system
(thus) All records are viewable and editable in the gui
Initially a default template is used for all domains
DNS-templates be added through the GUI.
New (Full) templates can appear when user adds domain
(Sub) templates can be added the same way currently used.
(Full) templates can be created by using other (sub) templates; mail stuff sub template, web stuff sub template ...etc.
sub templates appear in group withing full-template (as one group to be removed or added)


I'm very interested to see how you are going to do the (parametrized) templating , i would not mind a sneak peek too Smile

RE: DNS Templates - Arcam - 03-31-2011 09:11 AM

Any news on this patch in 1.0.7?