--- a/templates/named.config Sat Jan 22 00:05:44 2011 +0100
+++ b/templates/named.config Sun Jan 23 00:21:14 2011 +0100
@@ -1,10 +1,10 @@
-zone "<domain>" {
-// Start: <start>
-// Invoice: <customer>
-// UTF8: <utf8domain>
+[% USE iso = date(format => '%Y-%m-%dT%H:%M:%S') -%]
+zone "[% domain %]" {
+// Start: [% iso.format(now) %]
+// Invoice: [% customer %]
+// UTF8: [% utf8domain %]
type master;
- file "<file>";
- allow-transfer { localhost; <primary_ip>; <secondary_ip>; };
+ file "[% zonefile %]";
+ allow-transfer { localhost; slaves; };
allow-query { any; };
- also-notify { <primary_ip>; };
};