Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Managed Service for ClickHouse®
  • Getting started
    • All guides
      • Pre-configuration
      • FQDNs of hosts
      • Connecting from applications
      • Code examples
      • Updating a TLS certificate chain
  • Access management
  • Inspections and recommendations
  • Pricing policy
  • Yandex Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes

In this article:

  • Getting a host FQDN
  • Special FQDN
  1. Step-by-step guides
  2. Connection
  3. FQDNs of hosts

FQDNs of ClickHouse® hosts

Written by
Yandex Cloud
Updated at October 6, 2026
View in Markdown
  • Getting a host FQDN
  • Special FQDN

To connect to a host, you need its fully qualified domain name (FQDN). You can use the FQDN of a particular host in the cluster or a special FQDN always pointing to the available host.

Here is a host FQDN example:

rc1a-goh2a9tr********.mdb.yandexcloud.net

Getting a host FQDNGetting a host FQDN

There are several ways to get a ClickHouse® host's FQDN:

  • Look up the FQDN in the management console:

    1. Navigate to the cluster page.
    2. Navigate to Hosts.
    3. Copy the Host FQDN column value.
  • In the management console, copy the cluster connection command (it contains the host’s FQDN). To get this command, navigate to the cluster page and click Connect.

  • Get the list of cluster hosts using the CLI or API.

Special FQDNSpecial FQDN

If you do not want to manually connect to another host when the current one becomes unavailable, use a special FQDN.

Tip

To reduce latency and mitigate risks during master failovers, we recommend setting the master manually.

Special FQDNs can be in one of the following formats:

  • c-<cluster_ID>.rw.mdb.yandexcloud.net: To connect to an available cluster host.

  • <shard_name>.c-<cluster_ID>.rw.mdb.yandexcloud.net: To connect to an available shard host.

Warning

If, during cluster maintenance, a special FQDN points to a host without public access, you will not be able to connect to the cluster from the internet. To avoid this, enable public access for all cluster hosts.

In multi-host clusters, a special FQDN may temporarily point to a replica host. This is because it takes time to update DNS records for special FQDNs. If your write request returns an error, repeat it later.

ClickHouse® is a registered trademark of ClickHouse, Inc.

Was the article helpful?

Previous
Pre-configuration
Next
Connecting from applications
© 2026 Direct Cursus Technology L.L.C.