0

I bought a domain from godaddy for my service running on Gcr, for example: foo.com (I didn't know about the existence of Cloud Domains). In order to establish a domain relationship with my service, I first verified my domain over https://www.google.com/webmasters/verification/home

Then I added a record via Google cloud console -> Network Services - Cloud DNS and added the incoming records to my records in GoDaddy.

enter image description here

and when I check my Domain Name on https://dnschecker.org/, the results do not confirm the operation. enter image description here

However, even though 16 hours have passed, my transaction is still not confirmed. enter image description here How can I confirm this domain? What is a wrong or missing transaction?

  • What's the TTL of your DNS record? – guillaume blaquiere Jan 06 '22 at 14:22
  • As mentioned in the point number 5 [here](https://cloud.google.com/run/docs/mapping-custom-domains#dns_update), it can take upto 24 hours depending on the registrar and the [Time-To-Live(TTL)](https://support.google.com/a/answer/48090?hl=en#TTL) of your domain. As already mentioned by guillaume blaquiere it is necessary to know the TTL value of your DNS record. – Prabir Jan 07 '22 at 06:52
  • My TTL value is 1 hour – Enes Korkmaz Jan 07 '22 at 16:54
  • 1
    Is is still not confirmed? – Prabir Jan 10 '22 at 12:00
  • @Prabir--> Now it seems that the gcr is verified, but when I go to the domain, it says the site cannot be reached with the message "DNS_PROBE_FINISHED_NXDOMAIN". – Enes Korkmaz Jan 14 '22 at 19:55
  • I was able to view it from other devices a few times after it was approved, but now the error has become a permanent situation. – Enes Korkmaz Jan 14 '22 at 19:56
  • The `DNS_PROBE_FINISHED_NXDOMAIN` error may occur due to the misconfiguration or due to the problem with the DNS. Can you check with the steps mentioned [here](https://www.hostinger.in/tutorials/fix-dns_probe_finished_nxdomain) if that resolves the issue? – Prabir Jan 17 '22 at 08:47
  • Hello, same problem here but can I ask what external IP address did you input upon creating your cloud DNS? @EnesKorkmaz – CJ Cruz Jan 27 '22 at 02:20
  • @CJCruz --> Since I am connecting to a container-based service, I cannot view external IP as in virtual machines. – Enes Korkmaz Jan 27 '22 at 08:56
  • @CJCruz --> My problem still continues. Do you know how I can reach the external IP of the container? – Enes Korkmaz Jan 27 '22 at 08:56
  • 1
    @Enes Korkmaz I've done it! But by using cloudrun only without vm. I mapped my domain via godaddy by following these steps https://medium.com/@sandymadaan/domain-mapping-in-gcp-1126a8d29202 – CJ Cruz Jan 27 '22 at 14:37
  • @CJCruz --> Thank you very much for the reference. However, I have one more question. Are we going to delete the A and AAAA records given in the Update DNS mapping step, overwrite the records in godaddy, or add them under it? – Enes Korkmaz Jan 28 '22 at 08:34
  • Yes you do need to delete them (the default A and AAAA by godaddy). In my case, it worked after they got removed from my DNS. – CJ Cruz Jan 28 '22 at 13:35
  • @CJCruz--> it finally worked. thank you so much you ended a 21 day pain hahaha – Enes Korkmaz Jan 28 '22 at 14:40
  • @CJCruz-->Can you add your advice as an answer? – Enes Korkmaz Jan 28 '22 at 14:43
  • @CJCruz--> here was only one problem. I cannot access www.foo.com. I only have access to foo.com – Enes Korkmaz Jan 28 '22 at 15:08
  • got it done, it's simple. I just added a cname with the www name to my dns records. – Enes Korkmaz Jan 28 '22 at 15:22
  • @EnesKorkmaz I'm glad that it finally worked for you too haha. Alright I'll add it as an answer. Thanks – CJ Cruz Jan 29 '22 at 02:18

1 Answers1

3

I've done it! But by using cloudrun only. I mapped my domain via godaddy by following these steps medium.com/@sandymadaan/domain-mapping-in-gcp-1126a8d29202.

Note: Remove all the default A and AAAA in godaddy before putting all your DNS records from cloudrun

CJ Cruz
  • 98
  • 1
  • 2
  • 7