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

Exit Print View

Updated: July 2014
 
 

How to Create an rndc.conf File

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.

  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. 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 all the DNS server configuration is completed.

    # svcadm restart dns/server:default