summaryrefslogtreecommitdiff
path: root/templates/mx-record.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mx-record.erb')
-rw-r--r--templates/mx-record.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/mx-record.erb b/templates/mx-record.erb
new file mode 100644
index 0000000..a8ec89d
--- /dev/null
+++ b/templates/mx-record.erb
@@ -0,0 +1,5 @@
+<% if ttl -%>
+<%=owner%> <%=ttl%> IN MX <%=priority%> <%=host%>
+<% else -%>
+<%=owner%> IN MX <%=priority%> <%=host%>
+<% end -%>