So I want to set up Google Apps for my users via Zone Template Editor?

ichsie

Member
Oct 21, 2009
8
1
53
Is this viable?

Basically, I want every new domain added to my system to automatically have these MX entries: Configuring Your MX Records: Other domain hosts - Google Apps Help

And the only thing my user need to do to use Google Apps is to sign up at Google Apps.

How can I do this in the Zone Template Editor? Which should I choose? standardvirtualftp or standard or simple?

Thanks!
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
It is possible by simply editing one or more of the DNS zone templates and adding the desired customizations. You will want to edit at least the "standard" DNS zone template; the other two may not be necessary depending on your needs. It is certainly an option to modify all 3 zone templates if needed via the DNS Zone Template Editor.

Please also refer to our documentation that describes the feature and the default templates in more detail, including which template to edit for a certain task:
EditTemplates < AllDocumentation/WHMDocs < TWiki
 

ichsie

Member
Oct 21, 2009
8
1
53
Thanks Don. So for MX entries I'd go with standard?

The template zone file seems a little overwhelming, is there any docs dedicated to the usage of this file?
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Thanks Don. So for MX entries I'd go with standard?

The template zone file seems a little overwhelming, is there any docs dedicated to the usage of this file?
Yes; I believe the "standard" template file should work well for this. Here is our available documentation, though it does not show specific modification examples of edits that could be performed:
EditTemplates < AllDocumentation/WHMDocs < TWiki

Regarding entries in the templates; they should have correct syntax for entries you would see in a DNS zone file.

Here is an example of what might be used in place of the default MX entry in the template file, essentially just copying-and-pasting the default then customizing each line to match the Google Apps documentation:
Code:
%domain%.	%ttl%	IN	MX	1	aspmx.l.google.com.
%domain%.	%ttl%	IN	MX	5	alt1.aspmx.l.google.com.
%domain%.	%ttl%	IN	MX	5	alt2.aspmx.l.google.com.
%domain%.	%ttl%	IN	MX	10	aspmx2.googlemail.com.
%domain%.	%ttl%	IN	MX	10	aspmx3.googlemail.com.