Go to main content

Oracle® ZFS Storage Appliance Administration Guide, Release OS8.7.x

Exit Print View

Updated: November 2018
 
 

Configuring DNS (CLI)

DNS is usually configured during initial configuration, as described in Performing Initial Configuration (CLI) in Oracle ZFS Storage Appliance Installation Guide. To change your DNS settings after initial configuration, use the following procedure.

  1. Go to configuration services dns and then enter 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. Set the domain, servers, and search domain, and enable or disable non-DNS resolution.

    For more information, see DNS Properties and Logs and Non-DNS Resolution.

    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. Enter commit.
    hostname:configuration services dns> commit

Related Topics