docs.spearhead.cloud/en/docs/dns.md

1.5 KiB

DNS

The Container Name Service is now enabled for public use.

Overview

Spearhead Container Name Service (CNS) is a completely automatic, universal DNS for your containers and VMs on Spearhead Cloud. It is tightly integrated with Spearhead Cloud to eliminate complexity and simplify operations.

Spearhead CNS serves address records (both A and AAAA) for containers by instance name and tags. Multiple containers providing the same service can share the same tag and will be returned in the same address record. Because Spearhead CNS knows when containers are started or stopped, including unexpected stops, the DNS information is automatically updated and requests will be sent to running containers.

Spearhead CNS offers two facilities:

  1. Serving address records for instances by instance name.
  2. Serve address records for instances grouped by service label/tag (multiple instances are listed in one DNS name, depending on their availability)

Once activated, running instances in Spearhead Compute Service with public network interfaces will be available in DNS using the following FQDN patterns:

.inst...spearhead.cloud .svc...spearhead.cloud

DNS names for instances are currently unavaiable from the Spearhead Cloud Tools (spearhead get <instance name>). It is possible to retrieve them by getting the instance name and running dig against the known format domain.

Last edit: 2018 Wed 11 Jul 16:44 GMT+3