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

Exit Print View

Updated: July 2014
 
 

How to Configure DNS Server Options

This procedure explains how to select the IPv4 transport protocol for named traffic. See the named(1M) man page.

  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.2 .

  2. Change the configuration information for the dns/server service.
    # svccfg -s dns/server:default
    svc:/network/dns/server:default> setprop options/ip_interfaces = "IPv4"
    svc:/network/dns/server:default> quit

    Note -  You can change the configuration information with a single command.
    # svccfg -s dns/server:default options/ip_interfces=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