You use the /etc/rndc.conf file to configure remote control access of the DNS server daemon, named, by using the rndc command. This procedure creates a default file. For more information, see the rndc.conf(5) man page.
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.4.
# 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 the DNS server configuration is completed.
# svcadm restart dns/server:default