<% if ttl -%> <%=owner%> <%=ttl%> <%=record_class%> <%=record_type%> <%=host%> <% else -%> <%=owner%> <%=record_class%> <%=record_type%> <%=host%> <% end -%>