AWS re:Post을(를) 사용하면 다음에 동의하게 됩니다. AWS re:Post 이용 약관

nslookup failed - Got SERVFAIL reply from 172.26.0.2

0

Hello,

I've created a lightsail instance and deployed a test site, it's working fine via a browser, however when the server instance can't seem to resolve the hostname, if I query using a google DNS server it resolved fine, any ideas?

Enter image description here

Thanks

질문됨 7일 전60회 조회
3개 답변
1
수락된 답변

Hello.

I checked the DNS propagation status on the following site, but name resolution was only successful in some countries.
It is possible that it is taking a long time to propagate to AWS DNS.
Therefore, I think I succeeded by changing the DNS server used for name resolution.
https://www.nslookuptool.com/#A&test.bpa.org.ki
a

profile picture
전문가
답변함 7일 전
profile picture
전문가
검토됨 6일 전
1

Based on the information provided, it appears that your Lightsail instance is having trouble resolving the hostname using its default DNS server (172.26.0.2), while external DNS servers like Google's (8.8.8.8) can resolve it correctly. This suggests a potential issue with the DNS configuration on your Lightsail instance or within your VPC.

Here are a few steps you can take to troubleshoot and potentially resolve this issue:

  1. Check the /etc/resolv.conf file on your Lightsail instance to verify the configured DNS servers. If the file is pointing to an incorrect or unresponsive DNS server, you may need to update it.

  2. Ensure that your Lightsail instance's security group or firewall settings allow outbound DNS traffic (usually on port 53).

  3. Verify that the DNS records for your domain are correctly set up in your DNS management system (e.g., Route 53 or Lightsail's DNS zone).

  4. If you're using a custom domain, make sure the nameservers are correctly configured with your domain registrar.

  5. Try updating the instance's DNS configuration to use public DNS servers temporarily (like 8.8.8.8) to see if that resolves the issue.

  6. If the problem persists, you may want to create a snapshot of your instance and launch a new instance from that snapshot to see if the issue is related to the specific instance configuration.

If none of these steps resolve the issue, it may be worth contacting AWS support for further assistance, as there could be an underlying network or configuration problem within your Lightsail environment.

Sources
DNS Doesn't resolve | AWS re:Post
AWS Lightsail help | AWS re:Post
Troubleshoot website access errors on Lightsail | AWS re:Post

profile picture
답변함 7일 전
profile picture
전문가
검토됨 6일 전
0

Thank you, I'll look further into the DNS side of things. Cheers

답변함 6일 전

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

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

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

관련 콘텐츠