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

질문됨 일 년 전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
답변함 일 년 전
  • 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!

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠