{% extends "bases/app.html" %} {% block title %}Records - {{ current_zone }} - {% endblock title %} {% block main %}

Zone {{ current_zone }} records

Records

{% set current_domain = '' %} {% set current_rtype = '' %} {% for record in records %} {% if record.name != current_domain %} {% if current_domain %} {% endif %} {% set_global current_domain = record.name %} {% set_global current_rtype = '' %}

{{ record.name }}

Add record
    {% endif %} {% if record.type != current_rtype %} {% if current_rtype %}
{% endif %} {% set_global current_rtype = record.type %}
  • {{ record.type }}
    • {% endif %}
      {% if record.type == "A" or record.type == "AAAA" %}
      {{ record.rdata.address }}
      {% elif record.type == "MX" %}
      {{ record.rdata.mail_exchanger }}
      Preference: {{ record.rdata.mail_exchanger }}
      {% elif record.type == "NS" %}
      {{ record.rdata.target }}
      {% endif %}
    • {% endfor %}
  • {% endblock main %}