首页 > 其他 > 详细

Keep DNS Nameserver Order Consistency In Neutron

时间:2016-05-13 09:47:58      阅读:156      评论:0      收藏:0      [点我收藏+]

一个subnet有多个dns server时,dns server在创建时就定好了,但可以update:

 

neutron subnet-update 1a2d261b-b233-3ab9-902e-88576a82afa6 --dns_nameservers list=true 3.3.3.3 2.2.2.2 1.1.1.1

changzhi@stack:~/devstack$ neutron subnet-show 1a2d261b-b233-3ab9-902e-88576a82afa6
+------------------+--------------------------------------------+
| Field            | Value                                      |
+------------------+--------------------------------------------+
| allocation_pools | {"start": "10.0.0.2", "end": "10.0.0.254"} |
| cidr             | 10.0.0.0/24                                |
| dns_nameservers  | 3.3.3.3                                    |
|                  | 2.2.2.2                                    |
|                  | 1.1.1.1                                    |
| enable_dhcp      | True                                       |
| gateway_ip       | 10.0.0.1                                   |
| host_routes      |                                            |
| id               | 1a2d26fb-b733-4ab3-992e-88554a87afa6       |
| ip_version       | 4                                          |
| name             |                                            |
| network_id       | a404518c-800d-2353-9193-57dbb42ac5ee       |
| tenant_id        | 3868290ab10f417390acbb754160dbb2           |
+------------------+--------------------------------------------+

http://docs.openstack.org/developer/neutron/devref/dns_order.html

Keep DNS Nameserver Order Consistency In Neutron

原文:http://www.cnblogs.com/allcloud/p/5486249.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!