Search code examples
firebasefirebase-hosting

How can I verify my custom domain using domains.google.com


How can I verify my custom domain using domains.google.com if it doesn't allow duplicate keys and firebase hosting requires a duplicated key entry?

enter image description here

And firebase requires 2 text entries with same host.


Solution

  • DNS records in Google Domains can contain multiple values. So while you can only have a single TXT record for a given name, it can contain all the values you need to validate the domain for Firebase Hosting.

    The steps are:

    1. Click the Edit link next to your TXT record.
    2. Click the small + next to the (last) value.
    3. Enter the new value for the existing record
    4. Click Save

    Here's one of our domains, after step 1:

    Editing a multi-valued TXT record in Google Domains