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년 전1014회 조회
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년 전

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

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

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