DNS Lookup Fail with Amazon DNS Server

0

Hello,

I'm running into an issue where executing nslookup of an external domain (DNS hosted outside of AWS) is failing intermittently.

The output I get from nslookup is:
Error checking DNS for (domain)
Server: 10.0.0.2
Address: 10.0.0.2#53

** server can't find (domain): SERVFAIL

My DHCP options include: domain-name-servers = AmazonProvideDNS

Please let me know what other info I can supply to help troubleshoot this.

Best Wishes,
Justin

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

Hello Justin,

As per the VPC configuration, AWS provided DNS server "10.0.0.2" is the DNS resolver for your VPC. However, generally the status "SERVFAIL" is set by the Name Server (NS) of the domain and not the resolver.

SERVFAIL: Server failure—the name server was unable to process this query due to either a problem with the name server or a requested feature that can’t be satisfied due to configuration problems.

Therefore, I would recommend to check if there is a misconfiguration on the Name Server end.

In order to isolate the intermittent "servfail", run multiple dig queries on the different Name Servers for the domain.

  1. Find all the Name servers for your domain "dig <domain_name> NS"
  2. Run multiple dig on each of the Name servers : "dig <domain_name> @<name_server>"

The intermittent failure could be due to one of the multiple Name Servers having issues with it. Identify the name server who is setting the servfail status and report it to your DNS Hosted Zone provider.

AWS
已回答 5 年前

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

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

回答問題指南