Skip to content

Domain Connection Issue: NXDOMAIN Error

0

I am experiencing issues with domain connectivity for both www.***.net and ***.net. Despite setting up the DNS records in Route 53 correctly, the domains are not resolving, and an NXDOMAIN error is displayed.

Here are the details of my current configuration:

Hosted Zone in Route 53: A Record: .net -> ... CNAME Record: www.***.net -> ***.net Name Servers: AWS-provided NS records are correctly set up at the domain registrar. EC2 Instance: Security group allows inbound traffic on ports 80 (HTTP) and 443 (HTTPS). I have also tested the domain in Route 53’s record set tester, which shows no errors. However, nslookup for both domains results in an NXDOMAIN error.

Can you help verify if there are any additional steps or configurations required?

Thank you for your assistance.

  • Hi. As Steve commented, please share your Whois information, etc. Or, if you give us the domain, we can check the Whois directly.

asked 2 years ago426 views

2 Answers
1

It's important is that all four name server records in the registered domain https://console.aws.amazon.com/route53/domains/home#/

Need to match the name server records in the hosted zone https://console.aws.amazon.com/route53/v2/hostedzones#

Once these all align with the values AWS gave you, can you do a whois on your domain - use the whois command or go to https://who.is/ - what does it show?

Can you dig any information about the domain, and any records you have created within it - use the dig command or use https://toolbox.googleapps.com/apps/dig/

EXPERT

answered 2 years ago

0

Based on the information provided, it appears that you're experiencing a common issue with domain resolution in Route 53. Here are a few key points to consider and steps to take:

  1. DNS Propagation: DNS changes can take up to 48 hours to propagate globally. If you've recently made changes, you may need to wait a bit longer for them to take effect.

  2. Name Server Verification: Double-check that the NS records at your domain registrar exactly match the ones provided by AWS Route 53 for your hosted zone. Even a small discrepancy can prevent proper resolution.

  3. Glue Records: Ensure that the glue records for your domain match the NS records in your Route 53 hosted zone. You may need to update these in the registered domain settings.

  4. DNSSEC: If you're using DNSSEC, consider temporarily disabling it to rule out any configuration issues related to this feature.

  5. TTL Values: Check the TTL (Time to Live) values for your DNS records. If they're set too high, it can delay the propagation of changes. Consider lowering them temporarily to speed up propagation.

  6. Hosted Zone Type: Confirm that you're using a Public Hosted Zone in Route 53, not a Private Hosted Zone, as this could explain why AWS tools show correct resolution but external lookups fail.

  7. Domain Registration Verification: If you recently registered or transferred the domain to Route 53, make sure you've completed any required email verification steps.

If after checking these points and waiting for potential propagation delays you're still experiencing issues, it may be worth creating a new hosted zone in Route 53 and updating your domain's NS records to point to the new zone's name servers. This can sometimes resolve persistent issues.

If the problem persists, consider reaching out to AWS Support for further assistance, as they can provide more specific guidance based on your account and configuration details.

Sources
Domain resolve failing, SERVFAIL error | AWS re:Post
Domain name not resolving | AWS re:Post
Domain Registration Successful but Unable to Resolve Domain | AWS re:Post
route53 problem | AWS re:Post
my domain is not working with aws. | AWS re:Post

answered 2 years ago

EXPERT

reviewed 2 years ago

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.