0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ALIASレコードについて

0
Posted at

前提

Zone Apexには、CNAME設定ができない。
hoge.example.comでいうexample.comのようなサブドメインがないものをZone Apex(ネイキッドドメインともいう)。
RFCの規定で、CNAMEは他のレコードと共存できないとされているため、
最低でもNS(ネームサーバ)レコードが必要なので、CNAMEを設定することはできない。

そんなZone ApexでELBのようなものを、CNAMEで登録したい場合に、ALIASレコードというものがある。

ALIASレコード(Route53)

  • エイリアスレコードで登録することで、実際にはELBにはIPアドレスがあるので、それと紐付けることで設定している
  • AWSのサービスにはELBのようにIPアドレスが自動的に変更されるものにもよしなに対応する
  • 外部のDNSからはIPアドレスとして見える
  • 設定自体は、コンソールからCNAMEのようにできる

参考

https://dev.classmethod.jp/articles/amazon-route-53-alias-records
CDN とCNAME Apexドメインの制限 | REDBOX Labo
CNAME を巡る 2/3 のジレンマ - 鷲ノ巣

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?