yc dns
Written by
Updated at December 2, 2024
Manage Yandex DNS resources
Command Usage
Syntax:
yc dns <group>
Command Tree
- yc dns bind-file — Manage bind file
- yc dns bind-file migrate-to-terraform — Writes terraform specification to stdout
- yc dns zone — Manage dns zones
- yc dns zone add-access-binding — Add 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 remove-access-binding — Remove 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 all records specified by name and type in dns zone with new ones.
- yc dns zone set-access-bindings — Set access bindings to the specified dns zone and delete all existing access bindings if there are any.
- 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 Flags
Flag | Description |
---|---|
--profile |
string Set the custom configuration file. |
--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. |
--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. |
--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). |
--endpoint |
string Set the Cloud API endpoint (host:port). |
--token |
string Set the OAuth token to use. |
--impersonate-service-account-id |
string Set the ID of the service account to impersonate. |
--no-browser |
Disable opening browser for authentication. |
--format |
string Set the output format: text (default), yaml, json, json-rest. |
--jq |
string Query to select values from the response using jq syntax |
-h ,--help |
Display help for the command. |