Custom domains, dns setup, what are the A records there for?

64 views
Skip to first unread message

Rob Curtis

unread,
Jun 6, 2018, 11:15:24 AM6/6/18
to Google App Engine
Hi,

We have a client that wants to use their sub-domain for one of our applications hosted on GAE.

Are the A records linked to the toplevel domain or are they linked to the subdomain?
For example, If I wanted to use:
foo.example.com as the domain, and example.com already points at some website, would the alias for the A records below all be set to foo or left blank (as it does when you add a new domain in GAE)?


TypeDataAlias
A216.239.32.21
A216.239.34.21
A216.239.36.21
A216.239.38.21
AAAA2001:4860:4802:32::15
AAAA2001:4860:4802:34::15
AAAA2001:4860:4802:36::15
AAAA2001:4860:4802:38::15
CNAMEghs.googlehosted.comfoo

Thanks
Rob

George (Cloud Platform Support)

unread,
Jun 6, 2018, 3:33:12 PM6/6/18
to Google App Engine
The role of A type records consists in mapping a name to one or more IP addresses. The assumption here is that the IP address is known and stable. In your screen capture, the A record row always indicates an IP address under the Data column. The specific restriction is related to IP addresses, not subdomains. For related detail, you may have a look at the "Using subdomains" sub-chapter of the "Mapping Custom Domains" online document. 

Rob Curtis

unread,
Jun 7, 2018, 12:07:10 AM6/7/18
to Google App Engine
Thanks George.

If I only intend to use the sub-domain of the domain, do we still need to add the A-records (because the cname record is pointing at ghs)?
(I don't full understand what the purpose is of the a records with blank alias).

Thanks
Rob 



On Wed, Jun 6, 2018 at 9:33 PM 'George (Cloud Platform Support)' via Google App Engine <google-a...@googlegroups.com> wrote:
The role of A type records consists in mapping a name to one or more IP addresses. The assumption here is that the IP address is known and stable. In your screen capture, the A record row always indicates an IP address under the Data column. The specific restriction is related to IP addresses, not subdomains. For related detail, you may have a look at the "Using subdomains" sub-chapter of the "Mapping Custom Domains" online document. 

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/w89b7BbjQsM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/fb35efe7-c4fc-4f38-8f94-2b3587fe7425%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

George (Cloud Platform Support)

unread,
Jun 7, 2018, 6:30:04 PM6/7/18
to Google App Engine
DNS A-records are meant to be used in the configuration of root domains. A CNAME record is not allowed to coexist with any other data. If you use it for the www in www.somedomain.com, or for ghs, this coexistence is avoided, so your proposed usage above (pointing to ghs) is correct. You may check the RFC 1912 standard for more detail. 
Reply all
Reply to author
Forward
0 new messages