title: Public DNS namespace for service discovery is not accessible on the internet
body: <p>I have a container running on <strong>ECS as a Fargate service</strong>. It has a service <strong>discovery</strong> with a <strong>public DNS namespace</strong> &quot;frontend.example.com&quot;.</p>
  <p>I can access the container when I call the public IP, but not using the public DNS namespace..</p>
  <p>I also tried pointing a Route53 DNS record to this public DNS namespace &quot;frontend.example.com&quot;, but that did now work as well.</p>
  <p>Is this even possible? Because I read on some forums that you can access a fargate service only with an ALB connected to the service namespace or updating the public IP address on the Route53 each time the fargate container is updated.</p>
  <p>So again in short, <strong>can I use the public DNS namespace (created by CloudMap) attached to a fargate service (with service discovery) to access it from the internet?</strong></p>