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

asked 10 months ago192 views
1 Answer
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
EXPERT
Paul_L
answered 10 months ago
  • 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!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions