The RNDC key is used to control your NAMED service.
There is an RNDC key already built in your simulations.
You can EITHER use that one or build your own.
To use the key already there (which is what I recommend) you need
to copy the /etc/rndc.key file that contains the key into the
NAMED chroot directory. The same key must be in both /etc/rndc.key
and /var/named/chroot/etc/rndc.key. COPY the file, and do not just soft
or hard link the file (it wont work).
If you REALLY insist on generating your own rndc key then proceed
as follows...
Due to a weakness in the VM simulations the random function which helps
generate keys is slightly broken (not usually enough entropy).
You will likely have to use the keyboard to generate the random key.
Type the command:
rndc-confgen -a -b 128 -t /var/named/chroot -r keyboard
If it works, you will get a message saying "start typing" and
then after a while "stop typing". Type randomly when requested.