I'm trying to automate the process of configuring bind and I am thinking of creating a named.conf and a rndc.conf file and replace the [Insert secret from rndc-confgen's output here] string with the output from rndc-confgen -b 512 | grep -m 1 "secret" | cut -d '"' -f 2However, this doesn't seem to be a straightforward task since the output from the above commands may contain slashes and other characters that have special meaning to sed.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to