Inconsistent DNS error on my subdomain

0

I used to have my domain and subdomain pointed to Amazon hosting. Recently I moved the hosting the hosting of my domain to another hosting provider, leaving the subdomain to be pointed to Amazon hosting. Since the migration, the subdomain which has a A record pointing the cloudfront.net has been giving dns error inconsistently.

I had both an A and AAAA record pointing to my cloudfront.net url.

Is there anything that can be done to prevent the DNS error that happens randomly?

Errormessage

已提問 1 年前檢視次數 206 次
1 個回答
0

The error message in the screenshot that you posted doesn't indicate a DNS error - but rather a timeout trying to connect to the (web) server.

You mention you are using A and AAAA records within your zone files in order to direct traffic to your CloudFront distribution. These records only allow you to specify an IP address - v4 and v6 respectively. For CloudFront, you should be using a CNAME record instead.

AWS
專家
Paul_L
已回答 1 年前
  • Thanks for the response! We are using a CNAME record. Should we just be using the CNAME and not the A records?

  • Hi! We are using a CNAME, and we're using Route 53 as our DNS service and we have set up A and AAAA records too. Still occasionally having the issues with the error. If we send visitors the cloudfront link everything works fine for those with issues going to our subdomain. Any ideas where we might be going wrong? Thanks!

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南