0

I have one question to define the dns records. In this url (https://cloud.google.com/dns/docs/records), I read

Note: Adding the @ symbol in this field causes the record to fail.

This generates some doubts, until now whenever I had defined the records in Google Cloud DNS, instead of using @ I left it empty (thus referring to $ ORIGIN)

This is so?

that is, for example

example.com. 300 IN TXT "v = spf1 xxxxxxxxxxxxxxxxxxxxxxxxx"

example.com. 300 IN MX 10 server.domain.com.

Thank you very much

  • The answer depends. What are you trying to do? Some DNS servers use the @ to represent an empty name in a form field which means the `current domain`. Google Cloud does not. If you are setting an SPF TXT record for a domain, in your case the root domain, leave the DNS name empty. If you have multiple subdomains, you can use a wildcard `*` so that the same SPF record is returned for any subdomain. – John Hanley Feb 01 '21 at 15:32
  • Which parts of Google Cloud DNS are unclear and what is the issue that you have? – Sergiusz Feb 02 '21 at 11:05

0 Answers0