Using sed to replace the rndc key instead of depending on perl

Change-Id: Ia54011be54c34210df68a0dc28f81a8c66f58f04
Merge "Using sed to replace the rndc key instead of depending on perl"