The /etc/rndc.conf file is used to configure remote control access of the DNS server daemon, named, by using the rndc command. To create a default file, use the following procedure. Refer to the rndc.conf(4) man page for further options.
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 .
# rndc-confgen -a wrote key file "/etc/rndc.key
If you are creating the rndc.conf file as part of the DNS server configuration, you can skip restarting the DNS service until all the DNS server configuration is completed.
# svcadm restart dns/server:default