The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by ichsie, Oct 22, 2009.

  1. ichsie

    ichsie Registered

    Joined:
    Oct 21, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    kavoir.com
    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!
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    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
     
  3. ichsie

    ichsie Registered

    Joined:
    Oct 21, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    kavoir.com
    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?
     
  4. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    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.
     
Loading...

Share This Page