Go to main content

Working With Oracle® Solaris 11.3 Directory and Naming Services: DNS and NIS

Exit Print View

Updated: October 2017

How to Configure DNS Server Options

You can use the svccfg command to set the configuration options for the DNS server. For more information about configuration options, see the named(1M) man page. This procedure describes how to set the options/ip_interfaces option to select the IPv4 transport protocol for named traffic.

  1. Become an administrator.

    For more information about obtaining the appropriate rights to perform specific tasks, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Change the configuration information for the dns/server service.
    # svccfg -s dns/server:default setprop options/ip_interfaces=IPv4
  3. Update the SMF repository and enable the DNS service.
    # svcadm refresh network/dns/server:default
    # svcadm enable network/dns/server:default
  4. (Optional) Verify the change.
    # svccfg -s dns/server:default listprop options/ip_interfaces
    options/ip_interfaces  astring  IPv4