简体   繁体   English

AWS Route53 子域间歇性关闭

[英]AWS Route53 sub-domain intermittently down

I have a sub-domain setup on Route53 that points at an ALB.我在 Route53 上有一个指向 ALB 的子域设置。 If I hit the ALB DNS name directly, the application responds right away.如果我直接点击 ALB DNS 名称,应用程序会立即响应。 If I hit any of the nodes in the ECS cluster that the ALB fronts, again, response is immediate.如果我再次点击 ALB 所针对的 ECS 集群中的任何节点,则响应是立即的。 But from time to time, if I hit the sub-domain, it'll take a long time to resolve.但是时不时打到子域,要花很长时间才能解决。 Also, if I do另外,如果我这样做

host http://<my route53 sub-domain>

I sometimes get我有时会得到

Host <my route53 sub-domain> not found: 3(NXDOMAIN)

I have about a dozen sub-domains setup just like this (pointing at different ALBs) and haven't had this issue before, except for this most recent micro service.我有大约十几个这样的子域设置(指向不同的 ALB)并且以前没有遇到过这个问题,除了这个最新的微服务。

Question: Where should I look to figure out what could be going on?问题:我应该去哪里找出可能发生的事情?

I would carefully check the name server configuration.我会仔细检查名称服务器配置。 If one is somehow misconfgured, it can cause intermittent issues where some DNS lookups on a single name server fail while others are ok.如果某个配置有误,可能会导致间歇性问题,即单个名称服务器上的某些 DNS 查找失败,而其他查找则正常。

Also try a DNS propagation test, to see if your DNS is being propagated properly across the internet.还可以尝试 DNS 传播测试,看看您的 DNS 是否在互联网上正确传播。 See https://dnsmap.io/ or https://www.whatsmydns.net/ Some problems can be traced that way.请参阅https://dnsmap.io/https://www.whatsmydns.net/一些问题可以这样追踪。

To exclude any issues with your ISPs DNS, try to use a DNS lookups gateway like kloth.net and see if repeated lookups there show the same issue.要排除您的 ISP DNS 的任何问题,请尝试使用像 kloth.net 这样的 DNS 查找网关,看看那里的重复查找是否显示相同的问题。 See http://www.kloth.net/services/nslookup.phphttp://www.kloth.net/services/nslookup.php

Always use a general DNS checker like https://mxtoolbox.com/dnscheck.aspx to do a complete test of the DNS setup for your domain.始终使用通用 DNS 检查器,例如https://mxtoolbox.com/dnscheck.aspx对您的域的 DNS 设置进行完整测试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM