chmod 755 /usr/lib/lib{bind9,isc{,cc,cfg},lwres,dns}.so.*.?.?
# Generation of a key for use in the named.conf and rdnc.conf files using
- # the rndc-confgen command.
- BINDKEY=$(rndc-confgen -b 512 | grep -m 1 "secret" | cut -d '"' -f 2)
+ # the rndc-confgen command. If the option "-r /dev/random" is not specified,
+ # the source of randomness is the keyboard and the command will wait
+ # forever for keyboard input before continuing.
+ BINDKEY=$(rndc-confgen -b 512 -r /dev/random | grep -m 1 "secret" | cut -d '"' -f 2)
cd /home/named
mkdir -p dev etc/namedb/{pz,slave} var/run