summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-05-02 16:38:22 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-05-02 16:38:22 -0400
commit6ffd4eca30766153aa920888411f6437948757b2 (patch)
tree13357daed61ca6b97830f727db2454cdb735ce77 /templates
parenta6fd395b51a624e4aa7d09b4960382784cefa8e8 (diff)
downloadthird_party-cobbler-6ffd4eca30766153aa920888411f6437948757b2.tar.gz
third_party-cobbler-6ffd4eca30766153aa920888411f6437948757b2.tar.xz
third_party-cobbler-6ffd4eca30766153aa920888411f6437948757b2.zip
Add some missing files and do some more work on dns/dhcp refactoring
Diffstat (limited to 'templates')
-rw-r--r--templates/named.template18
-rw-r--r--templates/zone.template13
2 files changed, 31 insertions, 0 deletions
diff --git a/templates/named.template b/templates/named.template
new file mode 100644
index 0000000..f77eadc
--- /dev/null
+++ b/templates/named.template
@@ -0,0 +1,18 @@
+options {
+ listen-on port 53 { 127.0.0.1; };
+ directory "/var/named";
+ dump-file "/var/named/data/cache_dump.db";
+ statistics-file "/var/named/data/named_stats.txt";
+ memstatistics-file "/var/named/data/named_mem_stats.txt";
+ allow-query { localhost; };
+ recursion yes;
+};
+
+logging {
+ channel default_debug {
+ file "data/named.run";
+ severity dynamic;
+ };
+};
+
+$zone_include
diff --git a/templates/zone.template b/templates/zone.template
new file mode 100644
index 0000000..5426f78
--- /dev/null
+++ b/templates/zone.template
@@ -0,0 +1,13 @@
+\$TTL 300
+@ IN SOA $cobbler_server. nobody.example.com. (
+ $serial ; Serial
+ 600 ; Refresh
+ 1800 ; Retry
+ 604800 ; Expire
+ 300 ; TTL
+ )
+
+ IN NS $cobbler_server.
+
+
+$host_record