{%- if item.name is defined -%}
{{- item.name -}}
{%- else -%}
{{ item.service | upper }} server at %h
{%- endif -%}
_{{ item.service | lower }}._{{ item.transport | default("tcp") | lower }}
{{ item.port | int }}
{% for record in item.txt_records | default([]) %}
{{ record }}
{% endfor %}