Current time: 11-25-2024, 12:28 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DNS Templates
Author Message
datacompboy Offline
Junior Member
*

Posts: 50
Joined: Nov 2009
Reputation: 0
Post: #1
DNS Templates
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
Code:
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
http://www.google.com/a/cpanel/domain/new?hl=ru
adds MX records for gmail, mail => ghs.google.com cname, spf TXT record for gmail
- yandex-mail
http://pdd.yandex.ru
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.
(This post was last modified: 12-24-2009 05:59 AM by datacompboy.)
12-24-2009 02:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
uwe Offline
Junior Member
*

Posts: 68
Joined: Feb 2008
Reputation: 0
Post: #2
RE: DNS Templates
didn't this patch gain any popularity ? how did developers find it ? are you still maintaining the code/patch datacompboy?
01-10-2011 09:56 AM
Find all posts by this user Quote this message in a reply
datacompboy Offline
Junior Member
*

Posts: 50
Joined: Nov 2009
Reputation: 0
Post: #3
RE: DNS Templates
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.
01-10-2011 03:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #4
RE: DNS Templates
Hallo Datacompboy,

your post have not been ignored. For better tracking, please open a ticket at our bugtracker and attach your patch there Smile
01-10-2011 06:56 PM
Find all posts by this user Quote this message in a reply
uwe Offline
Junior Member
*

Posts: 68
Joined: Feb 2008
Reputation: 0
Post: #5
RE: DNS Templates
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?
01-12-2011 10:26 PM
Find all posts by this user Quote this message in a reply
datacompboy Offline
Junior Member
*

Posts: 50
Joined: Nov 2009
Reputation: 0
Post: #6
RE: DNS Templates
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)
01-12-2011 10:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
marchaos Offline
Junior Member
*

Posts: 57
Joined: Dec 2009
Reputation: 0
Post: #7
RE: DNS Templates
Control of DNS-templates must be added through the GUI. You need add admin possibility to add, copy, remove templates.
01-14-2011 06:55 PM
Find all posts by this user Quote this message in a reply
datacompboy Offline
Junior Member
*

Posts: 50
Joined: Nov 2009
Reputation: 0
Post: #8
RE: DNS Templates
Hmmm... Yes, good thing. Will think over it too.
01-14-2011 08:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
uwe Offline
Junior Member
*

Posts: 68
Joined: Feb 2008
Reputation: 0
Post: #9
RE: DNS Templates
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)


No?

I'm very interested to see how you are going to do the (parametrized) templating , i would not mind a sneak peek too Smile
01-16-2011 09:02 AM
Find all posts by this user Quote this message in a reply
Arcam Offline
Junior Member
*

Posts: 16
Joined: Jan 2011
Reputation: 0
Post: #10
RE: DNS Templates
Any news on this patch in 1.0.7?
03-31-2011 09:11 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)