Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

DNS records not visible

I registered a domain with these settings.

Spectrages_1-1689954670623.png

Here are the dns records.

Spectrages_0-1689954549703.png
I'm deploying a service on google cloud run and want to associate it with my domain. To do this, I add my domain in the settings, get an entry and add it to google cloud dns

Spectrages_2-1689954872438.png

But it seems that dns records are not actually visible. I tried to check their existence using dig, but it was empty.

However, if I add a custom dns entry using google cloud domains, then I can see those entries, but they still don't work for my service.

How do I properly set up my domain and dns records so that I can run my service on my domain?

 

Solved Solved
1 1 5,421
1 ACCEPTED SOLUTION

Hi @Spectrages ,

The first thing that I noticed based from the screenshots that you added is the CNAME. It seems different from your domain and to be set as a CNAME record. You might want to double check that part.

Moving forward, there can be several factors why the DNS records doesn't seem to be visible:

1. DNS Zone in Google Cloud DNS is not correctly configured, if this is not properly setup, DNS record won't be visible.
2. Check the DNS resolution by using a DNS lookup tool or command (e.g., dig, nslookup) to verify the DNS resolution for your domain and record. This will help you determine if the DNS record is indeed set up correctly.
3. When making DNS changes, it's important to remember that propagation across the internet may not be instantaneous. If you have recently added or updated a DNS record, it is advisable to allow some time (typically a few minutes to a few hours) for the changes to propagate. During this time, the record may not be visible from all locations.
4. Lastly, double-check the DNS record you are trying to add. Ensure that the record type (A, CNAME, MX, etc.) and the record data (IP address, domain, etc.) are accurate and properly formatted.

Also, I recommend you to follow these step by step guide about proper setup of domain and DNS records in GCP.

View solution in original post

1 REPLY 1

Hi @Spectrages ,

The first thing that I noticed based from the screenshots that you added is the CNAME. It seems different from your domain and to be set as a CNAME record. You might want to double check that part.

Moving forward, there can be several factors why the DNS records doesn't seem to be visible:

1. DNS Zone in Google Cloud DNS is not correctly configured, if this is not properly setup, DNS record won't be visible.
2. Check the DNS resolution by using a DNS lookup tool or command (e.g., dig, nslookup) to verify the DNS resolution for your domain and record. This will help you determine if the DNS record is indeed set up correctly.
3. When making DNS changes, it's important to remember that propagation across the internet may not be instantaneous. If you have recently added or updated a DNS record, it is advisable to allow some time (typically a few minutes to a few hours) for the changes to propagate. During this time, the record may not be visible from all locations.
4. Lastly, double-check the DNS record you are trying to add. Ensure that the record type (A, CNAME, MX, etc.) and the record data (IP address, domain, etc.) are accurate and properly formatted.

Also, I recommend you to follow these step by step guide about proper setup of domain and DNS records in GCP.