summaryrefslogtreecommitdiff
path: root/templates/zone.epp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-05-05 00:31:37 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-05-05 00:31:37 +0200
commiteb38e6252b3c52a44d0d33679b3bc3178674c7f8 (patch)
treeb7958e38f9893c347af4c04a53f65a103cef3292 /templates/zone.epp
parentInitial commit (diff)
downloaddns-eb38e6252b3c52a44d0d33679b3bc3178674c7f8.tar.gz
dns-eb38e6252b3c52a44d0d33679b3bc3178674c7f8.tar.xz
Everything
Diffstat (limited to 'templates/zone.epp')
-rw-r--r--templates/zone.epp24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/zone.epp b/templates/zone.epp
new file mode 100644
index 0000000..76fac34
--- /dev/null
+++ b/templates/zone.epp
@@ -0,0 +1,24 @@
+<%- | String $zone,
+ String $mname,
+ String $rname,
+ String $serial,
+ String $refresh,
+ String $retry,
+ String $expire,
+ String $negative_ttl,
+ String $default_ttl,
+ | -%>
+
+<%# The actual zonefile %>
+; File managed by Puppet.
+; Local changes WILL be overwritten!
+$ORIGIN <%= $zone %>
+$TTL <%= $default_ttl %>
+
+@ SOA <%= $mname %> <%= $rname %> (
+ <%= $serial %>
+ <%= $refresh %>
+ <%= $retry %>
+ <%= $expire %>
+ <%= $negative_ttl %>
+ )