Unable to verify the custom domain through the DNS settings on Cloudflare

What is the name of the domain?

What is the issue you’re encountering

Unable to verify the custom domain through the DNS settings on Cloudflare

What steps have you taken to resolve the issue?

As a free plan user on Cloudflare, I’m unsure whether the issues are related to TLS and SSL verification by Google Firebase. I tried to set up the custom domain using app.affinité.co with Firebase authentication, but I failed. I had configured the DNS settings in the Cloudflare DNS settings section, but the Google support team said that the record was not visible, and they referred me to ‘Dig (DNS lookup)’. I am seeking a solution to resolve this issue.

The domain (affinité.co) is bought by Google, and I had set the Google hosting correctly and redirected successfully. One more question - do I need to buy the advanced Certificate Manager on Cloudflare? I think it’s possible that the issue is related to SSL and TLS.

What feature, service or problem is this related to?

DNS records

Screenshot of the error

Actually, you have used the incorrect name for your records. The name should just be app for the txt records and firebase1._domainkey.app for the CNAME records.

dig +short app.affinité.co.affinité.co txt
"v=spf1 include:_spf.firebasemail.com ~all"
"firebase=affinity-c6db6"

You can see that your domain was added to the record twice.

1 Like

I’m really grateful that you responded to me first. I had initially used ‘app’ for the configuration, but the Google support team told me that’s why I should try changing it to ‘app.affinité.co’.

I can see that both records now resolve as intended:

dig +short app.affinité.co txt
"v=spf1 include:_spf.firebasemail.com ~all"
"firebase=affinity-c6db6"

dig +short firebase1._domainkey.app.affinité.co
mail-app-affinité-co.dkim1._domainkey.firebasemail.com.
1 Like

To be honest, I understood what you meant, so I just changed it from ‘app.affinité.co’ to ‘app’ in the DNS settings on Cloudflare. But to be honest, before making that setting, I had already done that. However, I found that the CNAME was not displaying correctly on Dig. I believe this is probably due to an issue with my settings.

Does that mean you are still experiencing problems now? You can see in my previous post that dig resolves the records as you entered them.

I tried following the command you provided, but it did not return anything on the terminal of my macOS.

:point_up:

You copied both the command and the result. The 2 lines with dig are the commands, the other 3 lines are results.

2 Likes

Thank you for your help. I have checked that the settings seem to be correct through the dig command, but I will have to wait for Google to pass the verification.

1 Like

Unfortunately, we still failed to pass the custom domain verification, and there is no clear reason why :melting_face:

It might be that you need to use punycode in your records or even when you add the domain to Firebase.

I can’t find any information on IDN support for Firebase.

app.affinité.co = app.xn--affinit-hya.co

1 Like

Finally, I was able to successfully pass the custom domain verification, and we should use punycode in the records. Thank you for your help and support. :smiley:

1 Like