Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Managed Service for ClickHouse®
  • Getting started
    • All guides
      • Pre-configuration
      • FQDNs of hosts
      • Connecting from applications
      • Code snippets
  • Access management
  • Pricing policy
  • Terraform reference
  • Yandex Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes

In this article:

  • Getting host FQDN
  • Selecting an available host automatically
  1. Step-by-step guides
  2. Connection
  3. FQDNs of hosts

FQDNs of ClickHouse® hosts

Written by
Yandex Cloud
Updated at January 23, 2025
  • Getting host FQDN
  • Selecting an available host automatically

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.

Host FQDN example:

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

Getting host FQDNGetting host FQDN

You can obtain the ClickHouse® host FQDN by doing one of the following:

  • Look up the FQDN in the management console:

    1. Go to the cluster page.
    2. Go to Hosts.
    3. Copy the Host FQDN column value.
  • In the management console, copy the command for connecting to the cluster. This command contains the host FQDN. To get the command, go to the cluster page and click Connect.

  • Request a list of cluster hosts using the CLI or API.

Selecting an available host automaticallySelecting an available host automatically

To avoid connecting to another host manually if the current one becomes unavailable, use a special FQDN. It 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.

If the host an FQDN points to becomes unavailable, there may be a slight delay before the FQDN starts pointing to another available host.

Warning

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

ClickHouse® is a registered trademark of ClickHouse, Inc.

Was the article helpful?

Previous
Pre-configuration
Next
Connecting from applications
Yandex project
© 2025 Yandex.Cloud LLC