Create Google Apps DNS Template for ISPConfig

This is a guide prepared with latest version of ISPConfig as on Dec 2014 version 3.0.5.4.p5

ISPConfig comes with option to define DNS Templates. Any user can select a template and enter domain name, all DNS settings will get configured based on template.

I prepared a guide each to prepare templates for Google Apps as well as Office 365. This guide helps you to configure Google Apps DNS Template.

Goto your ISPConfig Control Panel > DNS > Templates

Create a new template with the below template code.
[ZONE]
origin={DOMAIN}.
ns={NS1}.
mbox={EMAIL}.
refresh=7200
retry=540
expire=604800
minimum=86400
ttl=3600

[DNS_RECORDS]
A|{DOMAIN}.|{IP}|0|7200
CNAME|www|{DOMAIN}.|0|7200
A|mail|{IP}|0|7200
NS|{DOMAIN}.|{NS1}.|0|7200
NS|{DOMAIN}.|{NS2}.|0|7200
MX|{DOMAIN}.|ASPMX.L.GOOGLE.COM.|1|7200
MX|{DOMAIN}.|ALT1.ASPMX.L.GOOGLE.COM.|5|7200
MX|{DOMAIN}.|ALT2.ASPMX.L.GOOGLE.COM.|5|7200
MX|{DOMAIN}.|ALT3.ASPMX.L.GOOGLE.COM.|10|7200
MX|{DOMAIN}.|ALT4.ASPMX.L.GOOGLE.COM.|10|7200
TXT|{DOMAIN}.|v=spf1 ip4:{IP} include:_spf.google.com ~all|0|7200

Be First to Comment

Leave a Reply