Book Image

DNS in Action

By : CP Books a.s.
Book Image

DNS in Action

By: CP Books a.s.

Overview of this book

The Domain Name System is one of the foundations of the internet. It is the system that allows the translation of human-readable domain names into machines-readable IP addresses and the reverse translation of IP addresses into domain names. This book describes the basic DNS protocol and its extensions; DNS delegation and registration, including for reverse domains; using DNS servers in networks that are not connected to the internet; and using DNS servers on firewall machines. Many detailed examples are used throughout the book to show perform various configuration and administration tasks.
Table of Contents (16 chapters)
DNS in Action
About the Authors
Country Codes and RIRs

5.2 The rndc Program

The rndc (remote name server control) program is a program that allows you to control a name server both remotely and safely. A name server administrator can use this program to carry out the actions stated in the later table. The program can find out the name server’s PID and send the server the appropriate signal.

The rndc program has gradually developed over the years. Version 4 defined signals (see Section 5.2.1) for this purpose. A DNS administrator would send these signals to a name server using operating system commands. Version 8 introduced the rndc utility that offered a similar group of functions, but did not ensure security. BIND 9 added the authentication of the connection used.

BIND 9 and its client use a prepared symmetric key to mutually identify each other. The server has the key stored in the key clause in the named.conf file. The client has the same key and it is stored in the rndc.key file or in the rndc.conf configuration file. The rndc-confgen -a...