我目前有我的域名注册和DynDNSpipe理DNS。
我正在考虑将机器部署到AWS,并根据AWS中的主机名启动DNSlogging,但是我遇到了Dyn的API问题,并且无法成功执行此操作。
我不想转移所有的DynDNS区域,并将我的logging导出/导入到AWS。
是否有可能在Dyn中创buildNSlogging来添加AWS NS值,以便我在AWS内创build的任何logging能够通过Dyn正常传播?
我希望这是有道理的。 请让我知道是否需要详细说明。
你可以委托一个分区。 因此,对于“示例”: aws.example.com将用于您的AWS实例,而dyn将继续提供example.com 。 然后,AWS中的新主机将看起来像foo.aws.example.com和bar.aws.example.com 。 为了使这个工作:
使用以下区域文件在AWS上创build和testing子区域:
; zone fragment for sub-domain aws.example.com ; name servers in the same zone $TTL 2d ; default TTL = 2 days $ORIGIN aws.example.com. @ IN SOA ns3.aws.example.com. hostmaster.aws.example.com. ( 2003080800 ; serial number 2h ; refresh = 2 hours 15M ; update retry = 15 minutes 3W12h ; expiry = 3 weeks + 12 hours 2h20M ; minimum = 2 hours + 20 minutes ) ; sub-domain name servers IN NS ns1.aws.example.com. IN NS ns2.aws.example.com. ; sub-domain mail server IN MX 10 mail.aws.example.com. ; A records for name servers above ns1 IN A 10.10.0.24 ns2 IN A 10.10.10.24 ; A record for mail server above mail IN A 10.10.0.25
在Dyn的example.com区域中委派这些名称服务器:
aws.example.com. IN NS ns1.aws.example.com. aws.example.com. IN NS ns2.aws.example.com. ns1.aws.example.com. IN A 10.10.0.24 ns2.aws.example.com. IN A 10.10.10.24
注意 :您需要在子区域和超区域文件中的NS和Alogging才能正常工作。
增加example.com区域中的序列号。 重新加载并testing。
欲了解更多,请查看本教程 。