summaryrefslogtreecommitdiff
path: root/templates/zone1.epp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-05-05 01:46:46 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-06 18:31:17 +0200
commit812c3f4d6162cf7af8f8cbedb6abb6d72bd537e9 (patch)
tree109619457ac9b9028eae7297c4f72deadad68c52 /templates/zone1.epp
parenttmp disable creation. (diff)
downloaddns-812c3f4d6162cf7af8f8cbedb6abb6d72bd537e9.tar.gz
dns-812c3f4d6162cf7af8f8cbedb6abb6d72bd537e9.tar.xz
"Working" product.
Diffstat (limited to 'templates/zone1.epp')
-rw-r--r--templates/zone1.epp15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/zone1.epp b/templates/zone1.epp
new file mode 100644
index 0000000..289fc2d
--- /dev/null
+++ b/templates/zone1.epp
@@ -0,0 +1,15 @@
+<%- | String $zone,
+ String $mname,
+ String $rname,
+ Dns::Ttl $default_ttl,
+ Optional[Dns::Ttl] $soa_ttl,
+ | -%>
+<%#
+First half of the Zonefile's header, up until the serial field.
+-%>
+; File managed by Puppet.
+; Local changes WILL be overwritten!
+$ORIGIN <%= $zone %>
+$TTL <%= $default_ttl %>
+
+@ <%= $soa_ttl %> IN SOA <%= $mname %> <%= $rname %> (