On RHEL and it's downstream derivatives (CentOS, etc), BIND stores its configuration files in the following locations:
If you have a chrooted BIND setup, as configured by the bind-chroot package, the BIND service will run in the /var/named/chroot environment. All configuration files will be moved there. For example, named.conf will be located in /var/named/chroot/etc/named.conf, and so on.
hello friends
I installed sun solaris 8 for x86 pc, and I want know where is the files of configuration (path), the name of files, and the named of daemon.
example: /etc/named.conf and the zones is /var/named, and the daemon is named....it's in linux system.
I need want only the name of files,... (2 Replies)
What file is it that you set your name server? in solaris 2.5.1 sparc 5 system. I've been working in linux and it's confusing sometimes bouncing back and forth between the two! So alike, and yet some things are different!
THANK YOU
(LOVE THIS FORUM) (2 Replies)
anyone ever seen this problem
with /etc/nsswitch.conf forcing the system to look in files then dns
but the system ignores the files and goes off check the dn servers
is there any further config I've missed ???
/etc/resolve.conf name servers >>>> boring IPS
/etc/nsswitch.conf is set to... (5 Replies)
Hi,
I'm trying to locate the config files that are installed on a Unix/Linux system that belong to programs called Areca and IPMI. Two different programs. The most information I can get from IPMI is that it may be version 1.11 from Supermicro and it's installed by a CD. I checked the CD and... (1 Reply)
I want to compare "N" (around 2000+) number of huge files located in a directory A against "N" files located in a different directory using Bash scripting.
Please help me with any scripts available.
Thanks. (2 Replies)
Hi all,
I would like to know the dir location where all the source files for various file systems are located(not the compiled ones)?
I tried in /usr/src/uts , but thats as far as I can go.
After this i have the i86pc but there are no .c files anywhere.... (Impossible)
# find / -name *.c... (1 Reply)
Hi
I have below scenario, I hope this could be possible, but as of now no idea how to implement this.
Mount point in this location /abc/mp, and there will different users who will be executing one the file shell1.sh file located in /abs/mp, but every user will execute this shell1.sh file from... (1 Reply)
Hi All,
can some one suggest me a tool to compare file ownership/permission and contents of files located at two different unix servers?
Thanks,
Pranav (1 Reply)
I was having trouble remembering the linux command to show where bin files are located. I eventually figured it out from googling that it was "which".
How to find command location in Linux?
Since I saw a few other interesting commands like whereis and type it got me curious. Are there any... (5 Replies)
Hello everyone,
I'm am a newbie to coding so I am reaching out in hopes that I can get some help from this forum.
I am trying to run the script below from a single directory, however the directory has many subfolders. In each of those subfolders is a file, uniquely named to that specific... (3 Replies)
Discussion started by: azurite
3 Replies
LEARN ABOUT FREEBSD
rndc-confgen
rndc-confgen(1M) System Administration Commands rndc-confgen(1M)NAME
rndc-confgen - rndc key generation tool
SYNOPSIS
rndc-confgen [-ah] [-b keysize] [-c keyfile] [-k keyname] [-p port] [-r randomfile] [-s address] [-t chrootdir] [-u user]
DESCRIPTION
The rndc-confgen utility generates configuration files for rndc(1M). This utility can be used as a convenient alternative to writing by
hand the rndc.conf(4) file and the corresponding controls and key statements in named.conf(4). It can also be run with the -a option to set
up a rndc.key file and avoid altogether the need for a rndc.conf file and a controls statement.
OPTIONS
The following options are supported:
-a Perform automatic rndc configuration. This option creates a file rndc.key in /etc (or however sysconfdir was specified when
BIND was built) that is read by both rndc and named(1M) on startup. The rndc.key file defines a default command channel and
authentication key allowing rndc to communicate with named with no further configuration. Running rndc-confgen with -a
specified allows BIND 9 and rndc to be used as drop-in replacements for BIND 8 and ndc, with no changes to the existing
BIND 8 named.conf file.
-b keysize Specify the size of the authentication key in bits. The keysize argument must be between 1 and 512 bits; the default is
128.
-c keyfile Used with the -a option to specify an alternate location for rndc.key.
-h Print a short summary of the options and arguments to rndc-confgen.
-k keyname Specify the key name of the rndc authentication key. The keyname argument must be a valid domain name. The default is rndc-
key.
-p port Specify the command channel port where named listens for connections from rndc. The default is 953.
-r randomfile Specify a source of random data for generating the authorization. If the operating system does not provide a /dev/random or
equivalent device, the default source of randomness is keyboard input. The randomdev argument specifies the name of a char-
acter device or file containing random data to be used instead of the default. The special value keyboard indicates that
keyboard input should be used.
-s address Specify the IP address where named listens for command channel connections from rndc. The default is the loopback address
127.0.0.1.
-t chrootdir Used with the -a option to specify a directory where named will run after the root directory is changed with chroot(1M). An
additional copy of the rndc.key will be written relative to this directory so that it will be found by the named in the new
directory.
-u user Used with the -a option to set the owner of the rndc.key file generated. If -t is also specified only the file in the
chroot area has its owner changed.
EXAMPLES
Example 1: Use rndc no manual configuration.
rndc-confgen -a
Example 2: Print a sample rndc.conf file and corresponding controls and key statements to be manually inserted into named.conf.
rndc-confgen
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWbind9 |
|Interface Stability |External |
+-----------------------------+-----------------------------+
SEE ALSO chroot(1M), named(1M), rndc(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-confgen(1M)