Go to main content

Oracle® ZFS Storage Appliance 管理指南,发行版 OS8.8.0

退出打印视图

更新时间: 2018 年 11 月
 
 

配置 DNS (CLI)

DNS 通常在初始配置期间配置,如Oracle ZFS Storage Appliance 安装指南的执行初始配置 (CLI)中所述。要在初始配置之后更改您的 DNS 设置,请使用以下过程。

  1. 转到 configuration services dns,然后输入 show
    hostname:> configuration services dns
    hostname:configuration services dns> show
    Properties:
                          <status> = online
                            domain = example.com
                           servers = 192.0.2.254
                            search =
                allow_alternate_v4 = false
                allow_alternate_v6 = false
  2. 设置域、服务器和搜索域,并启用或禁用非 DNS 解析。

    有关更多信息,请参见DNS 属性和日志非 DNS 解析

    hostname:configuration services dns> set domain=example.com
                            domain = example.com (uncommitted)
    hostname:configuration services dns> set servers=192.0.2.253
                           servers = 192.0.2.253 (uncommitted)
    hostname:configuration services dns> set search=example.com
                            search = example.com (uncommitted)
    hostname:configuration services dns> set allow_alternate_v4=true
                allow_alternate_v4 = true (uncommitted)
  3. 输入 commit
    hostname:configuration services dns> commit

相关主题