Repository navigation
CLI DNS
github-actions[bot] edited this page Sep 26, 2026
·
4 revisions
Kind: Write.
| Flag | Type | Required |
|---|---|---|
--domain-name |
string |
yes |
VPCIDs (via --cli-input-json only) |
[]string |
yes |
--description |
string |
|
--no-wait |
bool |
vngcloud dns create-hosted-zone --domain-name <domain-name> --cli-input-json '{"VPCIDs":["<vpc-id>"]}'Kind: Write.
| Flag | Type | Required |
|---|---|---|
--hosted-zone-id |
string |
yes |
--type |
string |
yes |
Values (via --cli-input-json only) |
[]dns.RecordValue |
yes |
--sub-domain |
string |
|
--ttl |
int |
|
--routing-policy |
string |
|
--sticky-session |
*bool |
|
--no-wait |
bool |
vngcloud dns create-record --hosted-zone-id <hosted-zone-id> --type <type> --cli-input-json '{"Values":[{"Value":"<value>"}]}'Kind: Write, destructive.
| Flag | Type | Required |
|---|---|---|
--hosted-zone-id |
string |
yes |
--no-wait |
bool |
vngcloud dns delete-hosted-zone --hosted-zone-id <hosted-zone-id> --yesKind: Write, destructive.
| Flag | Type | Required |
|---|---|---|
--hosted-zone-id |
string |
yes |
--record-id |
string |
yes |
--no-wait |
bool |
vngcloud dns delete-record --hosted-zone-id <hosted-zone-id> --record-id <record-id> --yesKind: Read.
| Flag | Type | Required |
|---|---|---|
--hosted-zone-id |
string |
yes |
vngcloud dns get-hosted-zone --hosted-zone-id <hosted-zone-id> --query HostedZoneKind: Read.
| Flag | Type | Required |
|---|---|---|
--hosted-zone-id |
string |
yes |
--record-id |
string |
yes |
vngcloud dns get-record --hosted-zone-id <hosted-zone-id> --record-id <record-id> --query RecordKind: Read.
| Flag | Type | Required |
|---|---|---|
--name |
string |
|
--page |
int |
|
--size |
int |
vngcloud dns list-hosted-zonesKind: Read.
| Flag | Type | Required |
|---|---|---|
--hosted-zone-id |
string |
yes |
--name |
string |
vngcloud dns list-records --hosted-zone-id <hosted-zone-id>Kind: Write.
| Flag | Type | Required |
|---|---|---|
--hosted-zone-id |
string |
yes |
VPCIDs (via --cli-input-json only) |
*[]string |
|
--description |
*string |
|
--no-wait |
bool |
vngcloud dns update-hosted-zone --hosted-zone-id <hosted-zone-id> --description <description>Kind: Write.
| Flag | Type | Required |
|---|---|---|
--hosted-zone-id |
string |
yes |
--record-id |
string |
yes |
--sub-domain |
*string |
|
--type |
*string |
|
--ttl |
*int |
|
--routing-policy |
*string |
|
Values (via --cli-input-json only) |
*[]dns.RecordValue |
|
--sticky-session |
*bool |
|
--no-wait |
bool |
vngcloud dns update-record --hosted-zone-id <hosted-zone-id> --record-id <record-id> --ttl <ttl>SDK
- Getting Started
- Authentication
- Configuration
- Errors
- Services
- Backup
- Billing and Pricing
- CDN
- Compute
- Compute Servers
- DNS
- Container Registry
- IAM
- Load Balancer
- Monitor
- Monitor Alerts
- Monitor Log Alarms
- Network
- Network Route Tables
- Network ACLs
- Network DHCP Options
- Network Virtual IPs
- Tagging
- Storage
- Storage Workload Access
- Storage Objects
- Storage Object Copy
- Storage: Projects
- Storage: Bucket Policy
- Storage: Bucket Settings
- Security
- Volume
- VKS
- Limitations
CLI