06-05-2012
Yes, service command would not only load the zone files, but also will reload config files like named.conf etc. rndc utility is not only for loading the zone it's very useful when it comes to administering DNS. You can do zone transfer with this and many more, check man rndc for more info. Suppose you have updated just a host record on the forward and reverse lookup zones, you do not need to restart the whole service for that.
By the way, if you do not want even a small interruption to the named service, you will do the rndc way rather than the service way. For production systems, it matters.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Greetings to all,
I have not been in a unix environment for many years, but I am back.
Question is regarding how to setup or check how it's configured is DNS on a SPARCstation 20 runing SunOS 4.1.4 2 sun4m
I have a DNS server on the network and would like the sun box to use it for it's name... (22 Replies)
Discussion started by: DLongan
22 Replies
2. UNIX for Dummies Questions & Answers
Is there a website to go to that gives you a set of instructions to set up DNS from start to finish? I need it for a Solaris 8 box on the Intel platform side. (3 Replies)
Discussion started by: Deuce
3 Replies
3. UNIX for Dummies Questions & Answers
I just bought a unix dedicated server from a company so that i can host websites on that server. I wanted to configure it but I have no clue :confused: as to where to start. If some one can just guide me to the right direction, i would greatly appreciate it.
megnote (1 Reply)
Discussion started by: megnote
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I would like to create an internal webpage for my company that would only be viewable when connected to the VPN or internal network. I want a webpage like newsite.company.com. Is there a way to do this. We obviously already have www.company.com, but how would I go about creating the newsite.... (1 Reply)
Discussion started by: ejbrever
1 Replies
5. IP Networking
I would like to set up a DNS on my system, just to learn really, how difficult and what all is involved in the set up? How difficult? (6 Replies)
Discussion started by: jo calamine
6 Replies
6. Solaris
hey guys, how to add soalris box as a microsoft DNS Client ?
and how to register in the microsoft DNS ??
i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf
but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies
7. UNIX for Advanced & Expert Users
I'd like to get some opnions on choosing DNS server:
Windows DNS vs Linux BIND comparrsion:
1) managment, easy of use
2) Security
3) features
4) peformance
5) ??
I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies
8. Red Hat
Hi,
I have a question on how to point the DNS server-1's A-record to second DNS server, which is DNS server-2. So, the computer can access other domain which only listed in the DNS server-2. The scenario is as follow:
http://img689.imageshack.us/img689/6333/12234.png
How to configure this... (4 Replies)
Discussion started by: Paris Heng
4 Replies
9. Red Hat
I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based.
I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies
10. Solaris
Hi,
We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using
and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies
rndc(1M) System Administration Commands rndc(1M)
NAME
rndc - name server control utility
SYNOPSIS
rndc [-V] [-c config-file] [-k key-file] [-s server] [-p port] [-y key_id] command
DESCRIPTION
The rndc utility controls the operation of a name server. It supersedes the ndc utility that was provided in previous BIND releases. If
rndc is invoked with no command line options or arguments, it prints a short summary of the supported commands and the available options
and their arguments.
The rndc utility communicates with the name server over a TCP connection, sending commands authenticated with digital signatures. The only
supported authentication algorithm in the current versions of rndc and named(1M) is HMAC-MD5, which uses a shared secret on each end of the
connection. This algorithm provides TSIG-style authentication for the command request and the name server's response. All commands sent
over the channel must be signed by a key_id known to the server.
The rndc utility reads a configuration file to determine how to contact the name server and decide what algorithm and key it should use.
OPTIONS
The following options are supported:
-c config-file Use config-file as the configuration file instead of the default /etc/rndc.conf.
-k key-file Use key-file as the key file instead of the default, /etc/rndc.key. The key in /etc/rndc.key is used to authenticate com-
mands sent to the server if the config-file does not exist.
-s server The server argument is the name or address of the server that matches a server statement in the configuration file for
rndc. If no server is supplied on the command line, the host named by the default-server clause in the option statement of
the configuration file is used.
-p port Send commands to TCP port port instead of BIND 9's default control channel port, 953.
-V Enable verbose logging.
-y keyid Use the key keyid from the configuration file. The keyid argument must be known by named with the same algorithm and secret
string for control message validation to succeed. If no keyid is specified, rndc will first look for a key clause in the
server statement of the server being used, or if no server statement is present for that host, then the default-key clause
of the options statement. The configuration file contains shared secrets that are used to send authenticated control com-
mands to name servers. It should therefore not have general read or write access.
For the complete set of commands supported by rndc, see the BIND 9 Administrator Reference Manual or run rndc without arguments to see its
help message.
LIMITATIONS
The rndc utility does not support all the commands of the BIND 8 ndc utility.
There is no way to provide the shared secret for a key_id without using the configuration file.
Several error messages could be clearer.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWbind9 |
|Interface Stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
named(1M), named.conf(4), rndc.conf(4), attributes(5)
BIND 9 Administrator Reference Manual
NOTES
Source for BIND9 is available in the SUNWbind9S package.
SunOS 5.10 15 Dec 2004 rndc(1M)