Commit a8294e66 authored by Simon Cornet's avatar Simon Cornet
Browse files

fix: default record type

parent 9b6c9e7e
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ server:
{% elif record.type == 'PTR' %}
  local-data: "{{ record.name }}. IN PTR {{ record.value }}"
{% else %}
  local-data: "{{ record.name }}. IN {{ record.type | default('A') }} {{ record.value }}"
  local-data: "{{ record.name }}. IN {{ record.get('type', 'A') }} {{ record.value }}"
{% endif %}
{% endfor %}