Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud DNS
  • Getting started
  • Access management
  • Pricing policy
    • Overview
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ
  1. CLI reference
  2. Overview

yc dns

Written by
Yandex Cloud
Updated at September 25, 2026
View in Markdown

Manage DNS resources

Command tree v0 is the default. Run yc dns <command> or yc dns v0 <command>.

Command UsageCommand Usage

Syntax:

yc dns <group>

Command TreeCommand Tree

  • yc dns bind-file — Manage bind file

    • yc dns bind-file migrate-to-terraform — Writes terraform specification to stdout
  • yc dns firewall — Manage dns firewalls

    • yc dns firewall add-access-binding — Add an access binding to the specified dns firewall.

    • yc dns firewall add-labels — Assign labels to the specified dns firewall.

    • yc dns firewall create — Create a dns firewall in the specified folder.

    • yc dns firewall delete — Delete a dns firewall.

    • yc dns firewall get — Get information about a dns firewall.

    • yc dns firewall list — List dns firewalls in folder.

    • yc dns firewall list-access-bindings — List access bindings of the specified dns firewall.

    • yc dns firewall list-operations — List operations of the specified dns firewall.

    • yc dns firewall move — Move a dns firewall to the specified folder.

    • yc dns firewall remove-access-binding — Remove an access binding from the specified dns firewall.

    • yc dns firewall remove-labels — Remove labels from the specified dns firewall.

    • yc dns firewall set-access-bindings — Set access bindings of the specified dns firewall.

    • yc dns firewall update — Modify configuration or attributes of a dns firewall.

  • yc dns inbound-endpoint — Manage dns inbound endpoints

    • yc dns inbound-endpoint add-access-binding — Add an access binding to the specified dns inbound endpoint.

    • yc dns inbound-endpoint add-labels — Assign labels to the specified dns inbound endpoint.

    • yc dns inbound-endpoint create — Create a dns inbound endpoint in the specified folder.

    • yc dns inbound-endpoint delete — Delete a dns inbound endpoint.

    • yc dns inbound-endpoint get — Get information about a dns inbound endpoint.

    • yc dns inbound-endpoint list — List dns inbound endpoints in folder.

    • yc dns inbound-endpoint list-access-bindings — List access bindings of the specified dns inbound endpoint.

    • yc dns inbound-endpoint list-operations — List operations of the specified dns inbound endpoint.

    • yc dns inbound-endpoint remove-access-binding — Remove an access binding from the specified dns inbound endpoint.

    • yc dns inbound-endpoint remove-labels — Remove labels from the specified dns inbound endpoint.

    • yc dns inbound-endpoint set-access-bindings — Set access bindings of the specified dns inbound endpoint.

    • yc dns inbound-endpoint update — Modify configuration or attributes of a dns inbound endpoint.

  • yc dns v0 — Manage DNS resources

  • yc dns zone — Manage dns zones

    • yc dns zone add-access-binding — Add an access binding to the specified dns zone.

    • yc dns zone add-labels — Assign labels to the specified dns zone.

    • yc dns zone add-records — Add records to dns zone.

    • yc dns zone create — Create a dns zone in the specified folder.

    • yc dns zone delete — Delete a dns zone.

    • yc dns zone delete-records — Delete records from dns zone.

    • yc dns zone get — Get information about a dns zone.

    • yc dns zone list — List dns zones in folder.

    • yc dns zone list-access-bindings — List access bindings of the specified dns zone.

    • yc dns zone list-operations — List operations of the specified dns zone.

    • yc dns zone list-records — List dns zone records.

    • yc dns zone move — Move a dns zone to the specified folder.

    • yc dns zone remove-access-binding — Remove an access binding from the specified dns zone.

    • yc dns zone remove-labels — Remove labels from the specified dns zone.

    • yc dns zone replace-records — Replace records in dns zone.

    • yc dns zone set-access-bindings — Set access bindings of the specified dns zone.

    • yc dns zone update — Modify configuration or attributes of a dns zone.

    • yc dns zone update-private-networks — Modify private networks of a dns zone.

Global FlagsGlobal Flags

Flag

Description

--profile

string

Set the custom profile.

--region

string

Set the region.

--cloud-id

string

Set the ID of the cloud to use.

--folder-id

string

Set the ID of the folder to use.

--folder-name

string

Set the name of the folder to use (will be resolved to id).

--debug

Debug logging.

--debug-grpc

Debug gRPC logging. Very verbose, used for debugging connection problems.

--no-user-output

Disable printing user intended output to stderr.

--pager

string

Set the custom pager.

--no-pager

Do not pipe help output through a pager.

--format

string

Set the output format: text (default), yaml, json, json-rest.

--retry

int

Enable gRPC retries. By default, retries are enabled with maximum 5 attempts.
Pass 0 to disable retries. Pass any negative value for infinite retries.
Even infinite retries are capped with 2 minutes timeout.

--timeout

string

Set the timeout.

--token

string

Set the OAuth token to use.

--jq

string

Query to select values from the response using jq syntax

--endpoint

string

Set the Cloud API endpoint (host:port).

--impersonate-service-account-id

string

Set the ID of the service account to impersonate.

--no-browser

Disable opening browser for authentication.

--query

string

Query to select values from the response using jq syntax

--print-metadata

Print operation metadata along with result.

--syntax

string

Choose syntax option.

--cli-auto-prompt

string[="on"]

Enable interactive auto-prompt mode. Values: on, partial, off. Bare --cli-auto-prompt is equivalent to --cli-auto-prompt=on.

--no-cli-auto-prompt

Disable interactive auto-prompt mode (overrides --cli-auto-prompt, env and profile).

-h, --help

Display help for the command.

Was the article helpful?

Previous
Pricing policy
Next
Overview
© 2026 Direct Cursus Technology L.L.C.