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"
--
Jeff Ollie
"You know, I used to think it was awful that life was so unfair. Then
I thought, wouldn't it be much worse if life were fair, and all the
terrible things that happen to us come because we actually deserve
them? So, now I take great comfort in the general hostility and
unfairness of the universe."
-- Marcus to Franklin in Babylon 5: "A Late Delivery from Avalon"