Nov 10, 2018

How to add Custom Domain to Google Apps / Services

Sign up for Google Apps with the following promo codes:
  1. 99U6PGLQL7EVWU
  2. 4DGMXXPJGNVWTU
  3. CAJGFHXDXMH7EA
  4. 3PU7RKJ97TYLEM

Dual "CNAME" referrals if your DNS configuration supports it.
i88.ca. 3600 IN CNAME ghs.google.com.
it.i88.ca. 3600 IN CNAME ghs.google.com.

Asymmetrical DNS Configuration


sns.i88.ca
A
A
A
A
AAAA
AAAA
AAAA
AAAA
216.239.32.21
216.239.34.21
216.239.36.21
216.239.38.21
2001:4860:4802:32::15
2001:4860:4802:34::15
2001:4860:4802:36::15
2001:4860:4802:38::15

job.i88.ca. 3600 IN CNAME ghs.google.com.
If you want to get the latest ip addresses ( normally should seldom change):

$ dig ghs.google.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.1 <<>> ghs.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- 3677="" id:="" noerror="" opcode:="" p="" query="" status:="">;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;ghs.google.com.                        IN      A

;; ANSWER SECTION:
ghs.google.com.         559313  IN      CNAME   ghs.l.google.com.
ghs.l.google.com.       300     IN      A       74.125.142.121

;; AUTHORITY SECTION:
google.com.             101626  IN      NS      ns4.google.com.
google.com.             101626  IN      NS      ns2.google.com.
google.com.             101626  IN      NS      ns1.google.com.
google.com.             101626  IN      NS      ns3.google.com.

;; ADDITIONAL SECTION:
ns3.google.com.         32796   IN      A       216.239.36.10
ns1.google.com.         32796   IN      A       216.239.32.10
ns2.google.com.         32796   IN      A       216.239.34.10
ns4.google.com.         32796   IN      A       216.239.38.10


Asymmetrical DNS Configuration also applies when you want to add multiple domains to the same Google Apps. For example, the above configuration points job.i88.ca and sns.i88.ca to the same Google App.