Basic Guide to Google Apps DNS Settings
This guide is a list of common terms you may encounter when managing the DNS settings of your domain. Click a term below to jump to the description of the term and its practical use with Google Apps. See the corresponding Basic Guide to Domain Names for terms related to the domains specifically.
- DNS
- MX Record
- TXT Record
- CNAME Record
- A Record
- NS Record
- Uniform Resource Locator (URL)
- Example DNS configuration
DNS
DNS stands for Domain Name System. This system is in place to organize and identify domains. DNS is the phone book of the Web. While a phone book translates a name like “Acme Pizza” into the right phone number to call, the DNS translates a URL or web address (such as “www.google.com”) into the correct IP address to contact (for example “74.125.19.147”) in order to get the information that you want (in this case, the Google homepage).
For some Google Apps functionality, you need to adjust DNS records on your domain. For example, DNS is used to determine where to deliver email for your domain with MX records. To start using Gmail with your Google Apps domain, you need to point your MX records to our mail servers first.
MX Record
Mail Exchange (MX) records direct email to servers for a domain. Multiple MX records can be defined for a domain, each with a different priority where the lowest number is the highest priority. If mail can’t be delivered using the first priority record, the second priority record is used, and so on.
To set up email with Google Apps, you need to point your MX records to the Google mail servers first.
See Understand MX records for more details about creating and modifying MX records.
TXT Record
Text or TXT records may contain arbitrary text but can also be used to define machine readable text. TXT records are used primarily with Google Apps for domain ownership verification purposes. Also, you’ll need to use TXT records to implement email abuse prevention methods such as SPF, DKIM, and DMARC.
See Understand TXT records for instructions on creating and modifying TXT records.
CNAME Record
Canonical Name or CNAME records link an alias name to another canonical domain name. For instance, alias.example.com might link to example.com. You’ll need to use CNAME records if you want to configure a custom URL for specific Google Apps services or a Google Site (like sites.yourdomain.com).
See Understand CNAME records for more details about creating and modifying CNAME records and Create a custom web address for an example use of CNAME records.
A Record
Address or A records (also known as host records) are the central records of DNS. These records link a domain to an IP address.
You need A records in Google Apps to forward your naked domain. See the Understand A records for more details about creating and modifying A records.
NS Record
Name server (NS) records determine which servers will communicate DNS information for a domain. Generally, you will have primary and secondary name server records for your domain. If using Google Apps, you may configure NS records with your registrar or domain hosting service that point to Google servers for DNS queries.
See Identify your domain host for instructions on determining the holder of your NS records.
Uniform Resource Locator (URL)
This is the address of a resource on the Internet, the same value included in your browser’s location bar. For example, the URL of the Google Apps Help Center is http://www.google.com/support/a.
Example DNS configuration
Here’s an example of a possible DNS configuration for a domain using Google Apps.
Note that you don’t fill in the domain name for which you’re configuring the DNS. Instead, the @ symbol is used to indicate the domain name for which you’re configuring the DNS.
Name / Host / Alias | Record Type | Value / Answer / Destination |
---|---|---|
Blank or @ | A | 216.239.32.21 |
Blank or @ | A | 216.239.34.21 |
Blank or @ | A | 216.239.36.21 |
Blank or @ | A | 216.239.38.21 |
Blank or @ | MX | 1 ASPMX.L.GOOGLE.COM. |
Blank or @ | MX | 5 ALT1.ASPMX.L.GOOGLE.COM. |
Blank or @ | MX | 5 ALT2.ASPMX.L.GOOGLE.COM. |
Blank or @ | MX | 10 ASPMX2.GOOGLEMAIL.COM. |
Blank or @ | MX | 10 ASPMX3.GOOGLEMAIL.COM. |
CNAME | ghs.googlehosted.com. | |
Blank or @ | TXT | google-site-verification=6tTalLzrBXBO4Gy9700TAbpg2QTKzGYEuZ_Ls69jle8 |
Blank or @ | TXT | v=spf1 include:_spf.google.com ~all |
www | CNAME | ghs.googlehosted.com. |