Chapter 26. dns
This chapter describes the commands under the dns command.
26.1. dns quota list
List quotas
Usage:
openstack dns quota list [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--all-projects]
[--edit-managed]
[--sudo-project-id SUDO_PROJECT_ID]
[--project-id PROJECT_ID]
Table 26.1. Command arguments
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all-projects | Show results from all projects. default: false |
| --edit-managed | Edit resources marked as managed. default: false |
| --sudo-project-id SUDO_PROJECT_ID | Project id to impersonate for this command. default: None |
| --project-id PROJECT_ID | Project id default: current project |
Table 26.2. Output formatter options
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
Table 26.3. JSON formatter options
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
Table 26.4. Shell formatter options
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
Table 26.5. Table formatter options
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
26.2. dns quota reset
Reset quotas
Usage:
openstack dns quota reset [-h] [--all-projects] [--edit-managed]
[--sudo-project-id SUDO_PROJECT_ID]
[--project-id PROJECT_ID]
Table 26.6. Command arguments
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all-projects | Show results from all projects. default: false |
| --edit-managed | Edit resources marked as managed. default: false |
| --sudo-project-id SUDO_PROJECT_ID | Project id to impersonate for this command. default: None |
| --project-id PROJECT_ID | Project id |
26.3. dns quota set
Set quotas
Usage:
openstack dns quota set [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--all-projects]
[--edit-managed]
[--sudo-project-id SUDO_PROJECT_ID]
[--project-id PROJECT_ID]
[--api-export-size <api-export-size>]
[--recordset-records <recordset-records>]
[--zone-records <zone-records>]
[--zone-recordsets <zone-recordsets>]
[--zones <zones>]
Table 26.7. Command arguments
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all-projects | Show results from all projects. default: false |
| --edit-managed | Edit resources marked as managed. default: false |
| --sudo-project-id SUDO_PROJECT_ID | Project id to impersonate for this command. default: None |
| --project-id PROJECT_ID | Project id |
| --api-export-size <api-export-size> | New value for the api-export-size quota |
| --recordset-records <recordset-records> | New value for the recordset-records quota |
| --zone-records <zone-records> | New value for the zone-records quota |
| --zone-recordsets <zone-recordsets> | New value for the zone-recordsets quota |
| --zones <zones> | New value for the zones quota |
Table 26.8. Output formatter options
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
Table 26.9. JSON formatter options
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
Table 26.10. Shell formatter options
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
Table 26.11. Table formatter options
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
26.4. dns service list
List service statuses
Usage:
openstack dns service list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent] [--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--hostname HOSTNAME]
[--service_name SERVICE_NAME]
[--status STATUS] [--all-projects]
[--edit-managed]
[--sudo-project-id SUDO_PROJECT_ID]
Table 26.12. Command arguments
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --hostname HOSTNAME | Hostname |
| --service_name SERVICE_NAME | Service name |
| --status STATUS | Status |
| --all-projects | Show results from all projects. default: false |
| --edit-managed | Edit resources marked as managed. default: false |
| --sudo-project-id SUDO_PROJECT_ID | Project id to impersonate for this command. default: None |
Table 26.13. Output formatter options
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
| --sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
Table 26.14. CSV formatter options
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Table 26.15. JSON formatter options
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
Table 26.16. Table formatter options
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
26.5. dns service show
Show service status details
Usage:
openstack dns service show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--all-projects]
[--edit-managed]
[--sudo-project-id SUDO_PROJECT_ID]
id
Table 26.17. Positional arguments
| Value | Summary |
|---|---|
| id | Service status id |
Table 26.18. Command arguments
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all-projects | Show results from all projects. default: false |
| --edit-managed | Edit resources marked as managed. default: false |
| --sudo-project-id SUDO_PROJECT_ID | Project id to impersonate for this command. default: None |
Table 26.19. Output formatter options
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
Table 26.20. JSON formatter options
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
Table 26.21. Shell formatter options
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
Table 26.22. Table formatter options
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |