简体   繁体   English

Amazon AWS Route53代理子域问题

[英]Amazon AWS Route53 Delegate Subdomain Issue

I've followed these instructions 'Creating a Subdomain That Uses Amazon Route 53 as the DNS Service without Migrating the Parent Domain' many times over without success. 我已经多次遵循这些说明“创建使用Amazon Route 53作为DNS服务而不迁移父域的子域” ,但没有成功。 I configured a domain a couple of weeks ago and let it sit, I'm revisiting today and it's still not working. 我在几周前配置了一个域,然后放下它,今天我要重新访问它,但是它仍然无法正常工作。

My parent domain haynesandcompany.com is hosted with arvixe.com. 我的父域haynesandcompany.com由arvixe.com托管。

Here's my steps I took to implement as per the instructions; 这是我按照说明执行的步骤;

  1. Created a hosted zone 'helloamazon.haynesandcompany.com' on Route53. 在Route53上创建了一个托管区域“ helloamazon.haynesandcompany.com”。
  2. Created a subdomain on my host arvixe.com for 'helloamazon.haynesandcompany.com', removed the NS records and replaced them with the NS records reported by Route53. 在我的主机arvixe.com上为“ helloamazon.haynesandcompany.com”创建了一个子域,删除了NS记录,并将其替换为Route53报告的NS记录。
  3. At this point the DNS config on arvixe for the subdomain contains 4 NS records only, nothing else. 此时,arvixe上该子域的DNS配置仅包含4条NS记录,仅此而已。
  4. Back on Route53 I created a TXT record to validate my work with the value "bensayshello" and also created an A record pointing to my Elastic Load Balancer instance ALIAS. 回到Route53上,我创建了一个TXT记录以使用“ bensayshello”值验证我的工作,还创建了一个指向我的Elastic Load Balancer实例ALIAS的A记录。 My config on route 53 looks like this; 我在第53号路线上的配置如下所示:

     helloamazon.haynesandcompany.com A ALIAS dualstack.awseb-eq-awsebloa-14c3yer0oht29-329340065.us-east-1.elb.amazonaws.com. Routing Policy: Simple, Evaluate Target Health: No helloamazon.haynesandcompany.com NS ns-1845.awsdns-38.co.uk, ns-906.awsdns-49.net, ns-1063.awsdns-04.org, ns-461.awsdns-57.com helloamazon.haynesandcompany.com SOA ns-1845.awsdns-38.co.uk. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 helloamazon.haynesandcompany.com TXT "bensayshello" www.helloamazon.haynesandcompany.com A ALIAS dualstack.awseb-eq-awsebloa-14c3yer0oht29-329340065.us-east-1.elb.amazonaws.com. Routing Policy: Simple, Evaluate Target Health: No 

Based on my understanding, navigating to helloamazon.haynesandcompany.com now should work but it fails. 根据我的理解,现在导航到helloamazon.haynesandcompany.com应该可以,但是失败。 dnsstuff.com DNS report serves up a bunch of warnings and errors and running a propagation test on whatsmydns.com shows every 2nd server OK, the rest return a fail. dnsstuff.com DNS报告提供了许多警告和错误,并在whatsmydns.com上运行了传播测试,显示每台第二台服务器都正常,其余返回失败。 Mind you, it's been weeks since I set this all up so I don't think it's just a matter of giving it more time. 请注意,距我整整工作已经过去了几周,所以我认为这不是给它更多时间的问题。

I think I see your mistake. 我想我明白你的错误。

Created a subdomain on my host ... removed the NS records 在我的主机上创建了一个子域...删除了NS记录

If you did this correctly, there would not be any NS records for you to "remove." 如果正确执行此操作,则不会有任何NS记录可供您“删除”。 Based on that, don't create a separate subdomain as its own entity at the other DNS provider. 基于此,不要在其他DNS提供商处创建单独的子域作为其自己的实体。 There's going to be nothing to tie that back to the parent domain. 将没有什么可以将其绑定到父域。

Inside the existing parent domain, at the other DNS provider, just create records of type NS for the host "helloamazon" using the name servers assigned to the hosted zone in Route 53. 现有的父域内部,在另一个DNS提供商处,只需使用分配给Route 53中托管区域的名称服务器为主机 “ helloamazon”创建NS类型的记录。

That should be all you need. 那应该是您所需要的。

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

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