Skip to Content
Linux in a Nutshell, 6th Edition
book

Linux in a Nutshell, 6th Edition

by Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins
September 2009
Beginner
942 pages
85h 34m
English
O'Reilly Media, Inc.
Content preview from Linux in a Nutshell, 6th Edition

Name

rndc

Synopsis

rndc [options] [command]

TCP/IP command. Send commands to a BIND DNS server via a TCP connection (see the named command.) This command reads authentication and connection information from the file /etc/rndc.conf, and its authentication key from /etc/rndc.key. If entered without a command, display a help message listing the available commands.

Options

-c file

Read configuration information from file instead of /etc/rndc.conf.

-k file

Perform command on the routing cache instead of the forwarding information base (FIB) routing table.

-p port

Connect to the specified port instead of the default control channel port, 953.

-s server

Send command to the specified server. There must be an entry for server in the configuration file.

-V

Use verbose log messages.

-y keyname

Specify the key to use by keyname. There must be a key entry for keyname in the /etc/rndc.conf file.

Commands

You can send the following commands to a BIND nameserver:

dumpdb

Dump current cache to the dump file (specified in /etc/named.conf), or to named_dump.db when not specified.

flush [view]

Flush all server caches, or only the cache for the specified view.

halt

Stop server immediately.

querylog

Toggle query logging.

reconfig

Reload the configuration file and any new zones.

reload [zone [class [view]]]

Reload configuration file and zones. When specified, limit the reload to the given zone, class, or view.

refresh zone

Refresh database information for zone.

stats

Write statistics to the statistics file (specified in /etc/named.conf ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Unix in a Nutshell, 4th Edition

Unix in a Nutshell, 4th Edition

Arnold Robbins
Linux Under the Hood

Linux Under the Hood

Sander van Vugt
Linux Kernel in a Nutshell

Linux Kernel in a Nutshell

Greg Kroah-Hartman

Publisher Resources

ISBN: 9780596806088Errata Page