Hello,
I have had a little experience with this and as long as the special characters are escaped it should not be a problem.
I have not tested it but something like the following should do it, assuming your domains are in /var/named:
cp -fdr /var/named /var/named.backup
perl -pi -e...