04-17-2015
I get it.... i've modified the rndc to keep the important stuff. Of course it makes sense.
Will let you guys know what i can find out. Thanks again.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Ok,
each time i type
rndc reload
I get
rndc: decode base 64 secret: bad64 encoding.
I used dnssec-keygen to encode the actual key what am i doing wrong?
Thanks in advance below are my files i do use a key not just KEY KEY KEY
---AN INCLUDE FILE FOR ----NAMED.CONF
key "rndckey" {... (1 Reply)
Discussion started by: macdonto
1 Replies
2. Shell Programming and Scripting
hi,
I need a command which picks the records randomly from the file.
For example. i am having some 10000 entries in a file and need to extract the lines randomly without repeating the numbers.
Do anybody have any idea on how to get this out. (4 Replies)
Discussion started by: prash_b
4 Replies
3. Shell Programming and Scripting
I'm writing a script to archive data. First, the files are all rsync'd to the archive directory via NFS mounts(I know not the most efficient, but the only choice in this situation), then I use md5sum to validate the transfers. During execution of the script, it will exit for no apparent reason. It... (6 Replies)
Discussion started by: mph
6 Replies
4. Programming
I am unable to resolve the below code compilation issue:
class A
{
public:
int x;
};
void sort_A(TArray<A> &_Atype)
{
std::stable_sort (_Atype.begin(), _Atype.end());
}
bool operator< (const A & _a1, const A & _a2)
{
return _a1.x < _a2.x;
}
When we compile using gcc 4.1.2... (4 Replies)
Discussion started by: uunniixx
4 Replies
5. Shell Programming and Scripting
Hi folks
I'm coding on Ubuntu 9.04 standard shell.
I'm writing a script that needs to generate a random number at some point of its execution.
When I do
echo $RANDOMas a command inside shell, I clearly get some randomly generated number
However when I do
i=`$RANDOM`
echo $ior even... (14 Replies)
Discussion started by: ksk
14 Replies
6. Ubuntu
Hi
I am new to expect. Please if any one can help on my issue its really appreciable. here is my issue:
I want expect script for random passwords and random commands generation.
please can anyone help me?
Many Thanks in advance (0 Replies)
Discussion started by: vanid
0 Replies
7. Shell Programming and Scripting
i want to generate a random number through a script, and even if anyone reads the script, they wont be able to figure out what the random number is. only the person who setup the script would know it.
something like this could work: random
the full thread is here:
... (13 Replies)
Discussion started by: SkySmart
13 Replies
8. Shell Programming and Scripting
Need to use dd to generate a large file from a sample file of random data. This is because I don't have /dev/urandom.
I create a named pipe then:
dd if=mynamed.fifo do=myfile.fifo bs=1024 count=1024
but when I cat a file to the fifo that's 1024 random bytes:
cat randomfile.txt >... (7 Replies)
Discussion started by: Devyn
7 Replies
9. Shell Programming and Scripting
Having a hard time with this. Very new to scripting and linux. Spent all sunday trying to do this. Appreciate some help and maybe help breaking down what the syntax does.
Create a Bash program. It should have the following properties
• Creates a secret number between 1 and 100
i. The... (3 Replies)
Discussion started by: LINUXnoob15
3 Replies
10. Shell Programming and Scripting
Hi,
I need to write a bash script that will random choose and login into these below ip addresses.
192.168.116.130
192.168.116.131
192.168.116.132
192.168.116.133
I'm new into scripting and I need to enhance my logic. Below is what i did
... (4 Replies)
Discussion started by: Milon
4 Replies
LEARN ABOUT SUSE
rndc-confgen
RNDC-CONFGEN(8) BIND9 RNDC-CONFGEN(8)
NAME
rndc-confgen - rndc key generation tool
SYNOPSIS
rndc-confgen [-a] [-b keysize] [-c keyfile] [-h] [-k keyname] [-p port] [-r randomfile] [-s address] [-t chrootdir] [-u user]
DESCRIPTION
rndc-confgen generates configuration files for rndc. It can be used as a convenient alternative to writing the rndc.conf file and the
corresponding controls and key statements in named.conf by hand. Alternatively, it can be run with the -a option to set up a rndc.key file
and avoid the need for a rndc.conf file and a controls statement altogether.
OPTIONS
-a
Do automatic rndc configuration. This creates a file rndc.key in /etc (or whatever sysconfdir was specified as when BIND was built)
that is read by both rndc and named on startup. The rndc.key file defines a default command channel and authentication key allowing
rndc to communicate with named on the local host with no further configuration.
Running rndc-confgen -a 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.
If a more elaborate configuration than that generated by rndc-confgen -a is required, for example if rndc is to be used remotely, you
should run rndc-confgen without the -a option and set up a rndc.conf and named.conf as directed.
-b keysize
Specifies the size of the authentication key in bits. 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
Prints a short summary of the options and arguments to rndc-confgen.
-k keyname
Specifies the key name of the rndc authentication key. This must be a valid domain name. The default is rndc-key.
-p port
Specifies the command channel port where named listens for connections from rndc. The default is 953.
-r randomfile
Specifies 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. randomdev specifies the name of a character 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
Specifies 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 chrooted. An additional copy of the rndc.key will be written
relative to this directory so that it will be found by the chrooted named.
-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
To allow rndc to be used with no manual configuration, run
rndc-confgen -a
To print a sample rndc.conf file and corresponding controls and key statements to be manually inserted into named.conf, run
rndc-confgen
SEE ALSO
rndc(8), rndc.conf(5), named(8), BIND 9 Administrator Reference Manual.
AUTHOR
Internet Systems Consortium
COPYRIGHT
Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 2001, 2003 Internet Software Consortium.
BIND9 Aug 27, 2001 RNDC-CONFGEN(8)