Lightsail Container Service - What IP to use for DNS

0

I'm trying to connect my domain to a Lightsail Container Service. The DNS records are hosted at Cloudflare.

When running a VPS, I would usually update the DNS A-record to point to the static IP address for my server, but I can't work out how to attach a public static IP to my container service, and as far as I can tell the apex of a domain must point to an IP address.

Can this be achieved without moving my DNS service to Amazon?

1回答
0
承認された回答

I discovered a solution.

Cloudflare actually allows you to use a CNAME for the apex/root of your domain and it implements something it calls "CNAME flattening" to resolve the IP at the end of the chain.

https://blog.cloudflare.com/introducing-cname-flattening-rfc-compliant-cnames-at-a-domains-root/

回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ