In my environment I need to have finer-grained control of the BIND zone statements generated by cobbler, so I cooked up a quick patch that lets me do stuff like this:
#for $zone in $forward_zones zone "$zone" in { type master; file "$zone"; allow-query { any; }; allow-transfer { localhost; X.X.X.X; Y.Y.Y.Y; }; }; #end for #for $zone, $arpa in $reverse_zones zone "$arpa" in { type master; file "$zone"; allow-query { any; }; allow-transfer { localhost; X.X.X.X; Y.Y.Y.Y; }; }; #end for
I've attached a version of the patch against devel, I have versions of the patch for both devel and master in my git repo:
git://fedorapeople.org/home/fedora/jcollie/public_git/cobbler.git
branches "devel-bindzone" and "master-bindzone"