Firebase Hosting Custom Domain - site not "Go Live" after update DNS records by "CNAME records" method

I had the same problem and here is how i resolved it :

I put three parameters in the DNS record :

  1. CNAME with www
  2. A with 1st IP
  3. A with 2nd IP

and then i only add two nameservers i.e.: ns1 & ns2 out of the 4 default Nameservers provided by name.com

and now my website is live on firebase.

-extra info:

it was not going live when i was using the 4 default nameservers. it was not working with only one CNAME or both CNAME, or only both A with IP

I even contacted support on name.com they answered it is essential to have NameServer.