DNS中的问题-Gandi上托管的域-Route 53管理的DNS

问题-无法解析我的域名theplaybook.rocks

从购买域。 -Gandi.net。 通过Route 53托管区域管理DNS。 在Route 53中,我添加了指向CloudFront分布的A&AAAA记录。同样,已经为www子域创建了A&AAAA记录。 更改了Gandi.net中的名称服务器,以反映Route 53中的内容。 2天没有工作-仍然无法访问我的域-注意:cloudfront发行版可在浏览器上工作。我还在cloudfront中设置了备用域名,以正确指向我的域。

从这里开始,我所写的都是假设和我尝试过的一切。

在无法正常工作后,我在互联网上进行了很多搜索,并认为也许https://intodns.com/theplaybook.rocks中的“ GLUE”记录存在问题。因此,我(在某个网站或其他网站上)被告知必须在注册服务商处添加GLUE记录,因此我在Gandi.net中添加了它们。但是,在通过获取aws名称服务器的反向ip添加GLUE记录之后(可能本身并不正确,我不知道),Gandi.net通知我必须将它们添加到名称服务器中才能生效-我尝试过仅在53号公路中添加,然后在Gandi.net中添加,然后将它们同时保留,但无济于事。

我真的不知道我哪里出错了。感谢您的帮助。

liu_haoran 回答:DNS中的问题-Gandi上托管的域-Route 53管理的DNS

由于您配置了一组混合的名称服务器,因此dns解析是间歇性的。

Current Nameservers:
theplaybook.rocks.  86288   IN  NS  ns-1028.awsdns-00.org.
theplaybook.rocks.  86288   IN  NS  ns1.theplaybook.rocks.
theplaybook.rocks.  86288   IN  NS  ns-1814.awsdns-34.co.uk.
theplaybook.rocks.  86288   IN  NS  ns3.theplaybook.rocks.
theplaybook.rocks.  86288   IN  NS  ns2.theplaybook.rocks.
theplaybook.rocks.  86288   IN  NS  ns-618.awsdns-13.net.
theplaybook.rocks.  86288   IN  NS  ns-213.awsdns-26.com.
theplaybook.rocks.  86288   IN  NS  ns4.theplaybook.rocks.

Route53之一正确,并提供了IP地址:

dig theplaybook.rocks @ns-1028.awsdns-00.org +short
54.230.71.59
54.230.71.3
54.230.71.55
54.230.71.78

另一个不正确且无法访问:

>dig theplaybook.rocks @ns1.theplaybook.rocks

; <<>> DiG 9.10.6 <<>> theplaybook.rocks @ns1.theplaybook.rocks
;; global options: +cmd
;; connection timed out; no servers could be reached

如果您的DNS服务器查询ns * .theplaybook.rocks之一,它将失败。

您需要确保仅在Gandi中使用AWS名称服务器。删除其他4。

,

已解决

问题完全是我自己造成的。在开发过程中,我通过编辑etc / hosts文件针对相同的域名配置了localhost。只是随心所欲地检查了另一台笔记本电脑,它在那里工作正常。

不过感谢您的答复。

本文链接:https://www.f2er.com/3041456.html

大家都在问