背景
awsで取得したしたドメインのトップドメインをherokuで使いたかったのでネームサーバをRoute53からzerigoに引っ越した。
そのときハマったのでメモ。
awsで取得したドメインのDNSのレコードはRoute53で管理されている。
そこでNSレコードに引越し先のDNSサーバを指定してみてもなかなか引けるようにならない。
NSレコードのTTLが86400secに設定されているので時間がかかるのは覚悟していたものの待てど暮らせどnslookupの結果が変わらない。
公式ヘルプページにはNSレコードを書き換えるなと書いてある。
http://docs.aws.amazon.com/ja_jp/Route53/latest/DeveloperGuide/SOA-NSrecords.html
結論
Registed Domainsでドメイン自体のネームサーバを変更すれば反映された!
リアルタイムには変更できないので待てという通知がでる。
数分後に変更完了のメールが届き変更完了。
Hosted ZonesのNSレコードを変更するユースケースはさくら等の外部DNSでネームサーバにroute53を指定し、さらに別のネームサーバにリレーするとき。
まず発生しないと思いますが。