I am working with Firebase Authentication email templates, where there is the option to use a custom domain after verification. I have followed all the steps, and it seems my domain will not be verified.
The steps were to input these DNS records
HOST | TYPE | VALUE |
---|---|---|
hopperchat.com | TXT | v=spf1 include:_spf.firebasemail.com ~all |
hopperchat.com | TXT | firebase=hopperchat-cloud |
firebase1._domainkey.hopperchat.com | CNAME | mail-hopperchat-com.dkim1._domainkey.firebasemail.com. |
firebase2._domainkey.hopperchat.com | CNAME | mail-hopperchat-com.dkim2._domainkey.firebasemail.com. |
And then wait 48 hours. After the time period ended, I received an error, saying Could not verify domain
.
An image of my DNS records in Google Domains
P.S. In Google Domains DNS, the TXT files must be combined if they are from the same host. Also, the blank "Host name" in type "TXT" defaults to my domain (hopperchat.com). The "A" records are to connect to Firebase Hosting.
I have tried to change my DNS, and I expected Firebase to verify my domain, but Firebase did not.
2
Answers
These were the exact values I used to resolve this issue. The problem was that the CNAME records are already suffixed by ".hopperchat.com", so I needed to remove that suffix. Also, the host needs to remain blank to match "hopperchat.com".
Try the following: for TXT record use
@
for entries that indicate your domain name AND remove the domain in the CNAME recordE.g.