8.4. 删除记录集
默认情况下,任何用户可以删除 Red Hat OpenStack Platform DNS 服务(指定)记录集。
先决条件
- 您的项目必须拥有一个您要删除记录集的区域。
流程
提供您的凭据文件。
Example
$ source ~/overcloudrc您可以使用
openstack recordset delete命令删除记录集。示例
在本例中,用户从 example.
com. 区域中删除记录集 web.example.com. :$ openstack recordset delete example.com. web.example.com.
验证
运行 list 命令以确认您的删除。
Example
$ openstack recordset list -c name -c type -c records example.com.输出示例
+------------------+------+----------------------------------------------+ | name | type | records | +------------------+------+----------------------------------------------+ | example.com. | SOA | ns1.example.net. admin.example.com 162001261 | | | | 6 3599 600 86400 3600 | | | | | | example.com. | NS | ns1.example.net. | | | | | | www.example.com. | A | 192.0.2.1 | +------------------+------+----------------------------------------------+