DNS 通常在初始配置期间配置,如Oracle ZFS Storage Appliance 安装指南的执行初始配置 (CLI)中所述。要在初始配置之后更改您的 DNS 设置,请使用以下过程。
hostname:> configuration services dns
hostname:configuration services dns> show
Properties:
<status> = online
domain = example.com
servers = IP-address
search =
allow_alternate_v4 = false
allow_alternate_v6 = false
hostname:configuration services dns> set domain=example.com
domain = example.com (uncommitted)
hostname:configuration services dns> set servers=IP-address
servers = IP-address (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)
hostname:configuration services dns> commit