This is the multi-page printable view of this section. Click here to print.
Create Hosted Zone
1 - 1.3
scpcli dns hosted-zone create
--type <value>
--name <value>
[--description <value>]
[--private_dns_id <value>]
[--tags <value>]
Description
Create a new hosted zone.
State ACTIVE (CURRENT)
| Version | Supported Until |
|---|---|
| 1.3 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| type required | string | Type of zone | - |
| name required | string | name | my-zone.com |
| description optional | string | description | This is description |
| private_dns_id optional | string | Private DNS ID | - |
| tags optional | array | Tag List | '{"key": "", "value": ""}' |
Responses
| Name | Description | Example |
|---|---|---|
| id | Hosted Zone ID | 3432012nfdksdf03ktrld9234lgfg |
| created_at | Created At | 2024-05-17T00:23:17Z |
| created_by | Created By | 90dddfc2b1e04edba54ba2b41539a9ac |
| description | description | This is description |
| hosted_zone_type | Hosted Zone type | |
| modified_at | Modified At | 2024-05-17T00:23:17Z |
| modified_by | Modified By | 90dddfc2b1e04edba54ba2b41539a9ac |
| name | Hosted Zone Name | my-zone.com |
| pool_id | Designate Pool ID | 10fjksdpooliddfsi12389esfdslkdsr32 |
| private_dns_id | Private DNS ID | 10fjkewefprivatedns3193rud543 |
| private_dns_name | Private DNS Name | private-dns01 |
| status | State | |
| ttl | TTL for the zone. | 3600 |
2 - 1.2
scpcli dns hosted-zone create
--name <value>
--email <value>
[--description <value>]
[--private_dns_id <value>]
[--tags <value>]
[--type <value>]
Description
Create a new hosted zone.
State ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|---|
| 1.2 | 20260331 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| name required | string | name | - |
| email required | string | - | |
| description optional | string | description | - |
| private_dns_id optional | string | Private DNS ID | - |
| tags optional | array | Tag List | '{"key": "", "value": ""}' |
| type optional | string | Type of zone | - |
Responses
| Name | Description | Example |
|---|---|---|
| id | Id | |
| action | current action in progress | |
| attributes | Key:Value pairs of information about this zone | |
| created_at | Created Date | |
| description | description | |
| hosted_zone_type | Hosted Zone type | |
| links | Links to resource | |
| masters | The servers to slave from to get DNS information | |
| name | name | |
| pool_id | Designate Pool ID | |
| private_dns_id | Private DNS ID | |
| private_dns_name | Private DNS Name | |
| project_id | ProjectID | |
| serial | serial number | |
| shared | True if the zone is shared with another account | |
| status | The status | |
| transferred_at | The last time an update was retrieved from the master servers | |
| ttl | TTL for the zone. | |
| type | Type of zone | |
| updated_at | Updated Date | |
| version | Version |
3 - 1.1
scpcli dns hosted-zone create
--name <value>
--email <value>
[--description <value>]
[--tags <value>]
[--type <value>]
Description
Create a new hosted zone
State ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|---|
| 1.1 | 20260331 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| name required | string | name | - |
| email required | string | - | |
| description optional | string | description | - |
| tags optional | array | Tag List | '{"key": "", "value": ""}' |
| type optional | string | Type of zone | - |
Responses
| Name | Description | Example |
|---|---|---|
| id | Id | |
| action | current action in progress | |
| attributes | Key:Value pairs of information about this zone | |
| created_at | Created Date | |
| description | description | |
| hosted_zone_type | Hosted Zone type | |
| links | Links to resource | |
| masters | The servers to slave from to get DNS information | |
| name | name | |
| pool_id | Designate Pool ID | |
| project_id | ProjectID | |
| serial | serial number | |
| shared | True if the zone is shared with another account | |
| status | The status | |
| transferred_at | The last time an update was retrieved from the master servers | |
| ttl | TTL for the zone. | |
| type | Type of zone | |
| updated_at | Updated Date | |
| version | Version |
4 - 1.0
scpcli dns hosted-zone create
--name <value>
--email <value>
[--description <value>]
[--tags <value>]
[--type <value>]
Description
Create a new hosted zone
State ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|---|
| 1.0 | 20251231 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| name required | string | name | - |
| email required | string | - | |
| description optional | string | description | - |
| tags optional | array | Tag List | '{"key": "", "value": ""}' |
| type optional | string | Type of zone | - |
Responses
| Name | Description | Example |
|---|---|---|
| id | Id | |
| action | current action in progress | |
| attributes | Key:Value pairs of information about this zone | |
| created_at | Created Date | |
| description | description | |
| hosted_zone_type | Hosted Zone type | |
| links | Links to resource | |
| masters | The servers to slave from to get DNS information | |
| name | name | |
| pool_id | Designate Pool ID | |
| project_id | ProjectID | |
| serial | serial number | |
| shared | True if the zone is shared with another account | |
| status | The status | |
| transferred_at | The last time an update was retrieved from the master servers | |
| ttl | TTL for the zone. | |
| type | Type of zone | |
| updated_at | Updated Date | |
| version | Version |