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 Create an rndc.conf File

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(4) 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.3.

  2. Create the rndc configuration file.
    # rndc-confgen -a
    wrote key file "/etc/rndc.key
  3. (Optional) Restart the DNS service.

    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