删除了 Route 53 托管区域,无法再次正确创建 [英] Deleted Route 53 hosted zone, can't correctly create it again

查看:29
本文介绍了删除了 Route 53 托管区域,无法再次正确创建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 AWS 上有一个与 ElasticIP 关联的 Amazon EC2 实例.我从 Route 53 购买了域.它会自动创建托管区域.

I have an Amazon EC2 instance on AWS associated with an ElasticIP. I purchased domain from Route 53. It automatically created the Hosted Zone.

为域名创建记录集后运行良好.

It worked fine after creating a Record Set for the domain name.

我已经删除了该托管区域,但是当我再次添加它时,它不起作用.我在那里错过了什么?

I have deleted that Hosted Zone but when I add it again, it is not working. What am I missing there?

推荐答案

当您删除托管区域然后将其放回原处时,您并没有完全将其放回原处.您只是在创建一个类似于(但不完全相同)原始的.

When you delete a hosted zone and then put it back, you're not exactly putting it back. You're just creating one similar to (but not identical to) the original.

所以不要那样做.但是,既然您已经这样做了,那么修复方法如下:

So don't do that. But, since you already did, here's the fix:

当您单击托管区域"中的域时,您会在屏幕最右侧看到 Route 53 分配给托管区域的 4 个名称服务器.

When you click on a domain in "Hosted Zones," you see 4 name servers assigned to the hosted zone by Route 53 on the far right side of the screen.

每次您创建托管区域时,这 4 个值几乎总是不同的——这意味着您的托管区域现在位于 Route 53 中的 4 个新的、不同的权威名称服务器上,而不是之前部署的那些.正在使用旧的托管区域.

Each time you create a hosted zone, these 4 values will almost always be different -- meaning that your hosted zone now lives on 4 new, different authoritative name servers in Route 53 than the ones it was previously deployed on, when you were using the old hosted zone.

但互联网仍然希望 4 个域名服务器拥有您的记录……他们没有,因为您删除了原始托管区域.

But the Internet is still expecting the old 4 nameservers to have your records... which they don't, because you deleted the original hosted zone.

您必须向您的域注册商更新权威域名服务器.在这种情况下,这实际上是 Route 53 的不同部分.

You have to update the authoritative nameservers with your domain registrar. In this case, that's actually a different part of Route 53.

在 Route 53 控制台中,单击注册域".

In the Route 53 console, click "Registered Domains."

选择您的域.

选择添加/编辑名称服务器."

Choose "add/edit name servers."

为 Route 53 名称服务器输入正确的值,即上面提到的值,当您从托管区域页面单击域时,您会看到这些值.

Enter the correct values for the Route 53 name servers, which are the ones mentioned above, which you'll see when you click on the domain from the Hosted Zones page.

大部分内容来自我对服务器故障中的类似问题的回答.

Most of this content is from my answer to a similar qestion at Server Fault.

这篇关于删除了 Route 53 托管区域,无法再次正确创建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆