我可以在不同的托管区域中有一个 route53 子域吗? [英] Can I have a route53 subdomain in a different Hosted Zone?

查看:23
本文介绍了我可以在不同的托管区域中有一个 route53 子域吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将 foo.com 作为托管区域,其中包含 A、NS、SOA、TXT 和 MX 记录集.它工作正常.现在我想要一个带有 A 条目的单独 test.foo.com,但我想要它在一个单独的托管区域中.可能吗?

I have foo.com as a Hosted Zone with an A, NS, SOA, TXT and MX Record Sets. It works fine. Now I want a separate test.foo.com with an A entry but I want it in a separate Hosted Zone. Is it possible?

如果我将 A 记录放入 foo.com 的托管区域,其值为 test.foo.com 它可以工作,但我希望它在单独的托管区域中.

If I put an A record in foo.com's Hosted Zone with the value test.foo.com it works but I want it in a separate Hosted Zone.

我想要这样,以便在测试和生产之间有明确的分离.这样我就可以打破测试,但 prod 仍然存在.

I want it like so in order to have a clear separation between the test and prod. This way I can break the test but the prod is still up.

谢谢!

推荐答案

test.example.com 创建托管区域.

注意 Route 53 分配给它的新托管区域的 4 个名称服务器.

Note the 4 name servers that Route 53 assigns to it the new hosted zone.

回到主区域,创建一个新的资源记录,主机名为test",使用记录类型 NS,并在下面的框中输入 Route 53 分配的 4 个名称服务器.

Back in the master zone, create a new resource record, with hostname "test" using record type NS, and enter the 4 name servers that Route 53 assigned, in the box below.

您刚刚将test.example.com"子域以及其中的任何主机和子域委托给了不同的托管区域,您现在可以尽情享受,而不会影响生产记录.

You just delegated the "test.example.com" subdomain, and any hosts and subdomains in it, to a different hosted zone, which you can now break to your heart's content, without impacting the production records.

子域的托管区域可以在同一个帐户或不同的帐户中.

The hosted zone for the subdomain can be in the same account or a different account.

这篇关于我可以在不同的托管区域中有一个 route53 子域吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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