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!

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则