{% if (perm_edit == "all" or (perm_edit == "own" or perm_edit == "own_as_client") and user_is_zone_owner == "1") and domain_type != "SLAVE" and iface_edit_add_record_top and iface_show_add_record_form %}
{% trans %}Add new record{% endtrans %}
{% if dns_wizard_actions is defined and dns_wizard_actions|length > 0 and not is_reverse_zone %} {% for action in dns_wizard_actions %} {{ action.label|trans }} {% endfor %} {% endif %} {% trans %}Multi-record mode{% endtrans %} {% trans %}Bulk add{% endtrans %}
{% if form_data and form_data.error %}
{% if form_data.errorMessage is defined %} {{ form_data.errorMessage }} {% elseif form_data.multi_record_error %} {% if form_data.failure_count > 0 %} {% trans %}Failed to add {% endtrans %}{{ form_data.failure_count }} {% trans %}record(s). Please check the record format.{% endtrans %} {% else %} {% trans %}Failed to add records. Please check the record format.{% endtrans %} {% endif %} {% elseif form_data.content %} {% trans %}Content validation failed:{% endtrans %} {% trans %}Invalid value for record type{% endtrans %} {{ form_data.type }}. {% else %} {% trans %}Please provide all required information.{% endtrans %} {% endif %}
{% endif %}
{% if iface_record_comments %} {% endif %} {% if iface_record_comments %} {% endif %}
{% trans %}Name{% endtrans %} {% trans %}Type{% endtrans %} {% trans %}Content{% endtrans %} {% trans %}Priority{% endtrans %} {% trans %}TTL{% endtrans %}{% trans %}Comment{% endtrans %} {% if not is_reverse_zone and iface_add_reverse_record %} {% trans %}Add PTR{% endtrans %} {% endif %} {% if is_reverse_zone and iface_add_domain_record %} {% trans %}Add A/AAAA{% endtrans %} {% endif %}
{% if form_data.fieldError is defined and form_data.fieldError == 'name' %}
{% trans %}Invalid hostname format{% endtrans %}
{% endif %}
{% if form_data.fieldError is defined and form_data.fieldError == 'content' %}
{{ form_data.errorMessage }}
{% elseif form_data.fieldError is defined and form_data.fieldError == 'name-content-duplicate' %}
{% trans %}This record already exists{% endtrans %}
{% else %}
{% trans %}Provide content{% endtrans %}
{% endif %}
{% if form_data.fieldError is defined and form_data.fieldError == 'prio' %}
{% trans %}Invalid priority{% endtrans %}
{% endif %}
{% if form_data.fieldError is defined and form_data.fieldError == 'ttl' %}
{% trans %}Invalid TTL value{% endtrans %}
{% else %}
{% trans %}Provide TTL{% endtrans %}
{% endif %}
{% if not is_reverse_zone and iface_add_reverse_record %} {% endif %} {% if is_reverse_zone and iface_add_domain_record %} {% endif %}
{% if not is_reverse_zone %} {% trans %}Tip: Enter just the hostname (e.g. 'www') and the zone name will be added automatically. Use '@' for the zone apex/root.{% endtrans %} {% endif %}
{% endif %}
{% if idn_zone_name %} {% trans %}Edit zone{% endtrans %} "{{ idn_zone_name }}" ({{ zone_name_to_display }}) {% else %} {% trans %}Edit zone{% endtrans %} "{{ zone_name_to_display }}" {% endif %}
{% if perm_edit != "none" and iface_edit_save_changes_top %} {% endif %} {% if not iface_show_add_record_form and (perm_edit == "all" or (perm_edit == "own" or perm_edit == "own_as_client") and user_is_zone_owner == "1") and domain_type != "SLAVE" %} {% trans %}Add record{% endtrans %} {% endif %} {% if dns_wizard_actions is defined and dns_wizard_actions|length > 0 and not is_reverse_zone and (perm_edit == "all" or (perm_edit == "own" or perm_edit == "own_as_client") and user_is_zone_owner == "1") and domain_type != "SLAVE" %} {% for action in dns_wizard_actions %} {{ action.label|trans }} {% endfor %} {% endif %} {% if whois_actions is defined and whois_actions|length > 0 %} {% for action in whois_actions %} {{ action.label }} {% endfor %} {% endif %} {% if rdap_actions is defined and rdap_actions|length > 0 %} {% for action in rdap_actions %} {{ action.label }} {% endfor %} {% endif %} {% trans %}Ownership{% endtrans %} {% if meta_edit or perm_view != "none" %} {% if meta_edit %}{% trans %}Metadata{% endtrans %}{% else %}{% trans %}View Metadata{% endtrans %}{% endif %} {% endif %} {% if (perm_zone_templ_add or perm_is_godlike) and domain_type != "SLAVE" %} {% trans %}Save as Template{% endtrans %} {% endif %}
{% if not records %} {% if search_term or record_type_filter or content_filter %}
{% trans %}No records match your filter criteria.{% endtrans %} {% trans %}Clear{% endtrans %}
{% else %}
{% trans %}This zone does not have any records.{% endtrans %}
{% endif %} {% else %}
{% trans %}Filter:{% endtrans %}
{% if search_term or record_type_filter or content_filter %} {% trans %}Clear{% endtrans %} {% else %} {% trans %}Clear{% endtrans %} {% endif %}
{{ pagination | raw }}
{% if filtered_record_count != record_count %}
{% trans %}Showing{% endtrans %} {{ filtered_record_count }} {% trans %}of{% endtrans %} {{ record_count }} {% trans %}total records{% endtrans %}
{% endif %}
{% if iface_edit_show_id %} {% endif %} {% if iface_record_comments %} {% endif %} {% if pdns_caps and pdns_caps.supportsRecordTimestamps %} {% endif %} {% if iface_show_record_edit_button or iface_show_record_delete_button %} {% endif %} {% for r in records %} {% set record_locked = (r['type'] == "SOA" and perm_edit != "all") or (r['type'] == "NS" and perm_edit == "own_as_client") %} {% if not record_locked %} {% endif %} {% if iface_edit_show_id %} {% endif %} {% if record_locked %} {% if iface_record_comments %} {% endif %} {% if pdns_caps and pdns_caps.supportsRecordTimestamps %} {% endif %} {% else %} {% if iface_record_comments %} {% endif %} {% if pdns_caps and pdns_caps.supportsRecordTimestamps %} {% endif %} {% endif %} {% if iface_show_record_edit_button or iface_show_record_delete_button %} {% if domain_type == "SLAVE" or perm_edit == "none" or (perm_edit == "own" or perm_edit == "own_as_client") and user_is_zone_owner == "0" %} {% elseif r['type'] == "SOA" and perm_edit != "all" or r['type'] == "NS" and perm_edit == "own_as_client" %} {% else %} {% endif %} {% endif %} {% endfor %}
{% trans %}Id{% endtrans %} {% if record_sort_by == 'id' %} {% endif %} {% trans %}Name{% endtrans %} {% if record_sort_by == 'name' %} {% endif %} {% trans %}Type{% endtrans %} {% if record_sort_by == 'type' %} {% endif %} {% trans %}Content{% endtrans %} {% if record_sort_by == 'content' %} {% endif %} {% trans %}Priority{% endtrans %} {% if record_sort_by == 'prio' %} {% endif %} {% trans %}TTL{% endtrans %} {% if record_sort_by == 'ttl' %} {% endif %} {% trans %}Comment{% endtrans %} {% trans %}Disabled{% endtrans %} {% if record_sort_by == 'disabled' %} {% endif %} {% trans %}Last modified{% endtrans %}{% trans %}Actions{% endtrans %}
{% if not record_locked %} {% endif %} {{ r['id'] }}{{ r['display_name'] is defined ? r['display_name'] : r['name'] }} {{ r['type'] }} {{ r['content'] }} - {{ r['ttl'] }}{{ r['comment'] ?? '-' }}{% if r['disabled'] %}{% trans %}Yes{% endtrans %}{% else %}{% trans %}No{% endtrans %}{% endif %} {% if r['modified_at'] %} {{ r['modified_at']|date('Y-m-d H:i') }} {% else %} — {% endif %} {{ r['type'] }}
{# Row-complete marker; dropped first if max_input_vars truncates the POST. #} {% if r['modified_at'] %} {{ r['modified_at']|date('Y-m-d H:i') }} {% else %} — {% endif %}   
{% if iface_show_record_edit_button %} {% endif %} {% if iface_show_record_delete_button %} {% endif %}
{{ pagination | raw }}
{% if perm_edit != "none" and domain_type != "SLAVE" and (perm_edit == "all" or (perm_edit == "own" or perm_edit == "own_as_client") and user_is_zone_owner == "1") %} {% if not iface_show_record_edit_button %} {% endif %} {% endif %}
{% if iface_zone_comments %}
{% if perm_edit != "none" %} {% trans %}Edit comment{% endtrans %} {% endif %}
{% endif %} {# Last field of the form; dropped if max_input_vars truncates the POST. #} {% endif %} {% if (perm_edit != "none" and not iface_edit_save_changes_top) or (dblog_use and (perm_is_godlike or perm_view_zone_own or perm_view_zone_other)) %} {% endif %}
{% if perm_edit == "all" or (perm_edit == "own" or perm_edit == "own_as_client") and user_is_zone_owner == "1" %} {% if domain_type != "SLAVE" and not iface_edit_add_record_top and iface_show_add_record_form %}
{% trans %}Add new record{% endtrans %}
{% if dns_wizard_actions is defined and dns_wizard_actions|length > 0 and not is_reverse_zone %} {% for action in dns_wizard_actions %} {{ action.label|trans }} {% endfor %} {% endif %} {% trans %}Multi-record mode{% endtrans %} {% trans %}Bulk add{% endtrans %}
{% if form_data and form_data.error %}
{% if form_data.errorMessage is defined %} {{ form_data.errorMessage }} {% elseif form_data.multi_record_error %} {% if form_data.failure_count > 0 %} {% trans %}Failed to add {% endtrans %}{{ form_data.failure_count }} {% trans %}record(s). Please check the record format.{% endtrans %} {% else %} {% trans %}Failed to add records. Please check the record format.{% endtrans %} {% endif %} {% elseif form_data.content %} {% trans %}Content validation failed:{% endtrans %} {% trans %}Invalid value for record type{% endtrans %} {{ form_data.type }}. {% else %} {% trans %}Please provide all required information.{% endtrans %} {% endif %}
{% endif %}
{% if iface_record_comments %} {% endif %} {% if iface_record_comments %} {% endif %}
{% trans %}Name{% endtrans %} {% trans %}Type{% endtrans %} {% trans %}Content{% endtrans %} {% trans %}Priority{% endtrans %} {% trans %}TTL{% endtrans %}{% trans %}Comment{% endtrans %} {% if not is_reverse_zone and iface_add_reverse_record %} {% trans %}Add PTR{% endtrans %} {% endif %} {% if is_reverse_zone and iface_add_domain_record %} {% trans %}Add A/AAAA{% endtrans %} {% endif %}
{% if form_data.fieldError is defined and form_data.fieldError == 'name' %}
{% trans %}Invalid hostname format{% endtrans %}
{% endif %}
{% if form_data.fieldError is defined and form_data.fieldError == 'content' %}
{{ form_data.errorMessage }}
{% elseif form_data.fieldError is defined and form_data.fieldError == 'name-content-duplicate' %}
{% trans %}This record already exists{% endtrans %}
{% else %}
{% trans %}Provide content{% endtrans %}
{% endif %}
{% if form_data.fieldError is defined and form_data.fieldError == 'prio' %}
{% trans %}Invalid priority{% endtrans %}
{% endif %}
{% if form_data.fieldError is defined and form_data.fieldError == 'ttl' %}
{% trans %}Invalid TTL value{% endtrans %}
{% else %}
{% trans %}Provide TTL{% endtrans %}
{% endif %}
{% if not is_reverse_zone and iface_add_reverse_record %} {% endif %} {% if is_reverse_zone and iface_add_domain_record %} {% endif %}
{% trans %}Tip: Enter just the hostname (e.g. 'www') and the zone name will be added automatically. Use '@' for the zone apex/root.{% endtrans %}
{% endif %} {% endif %}
{% trans %}Type{% endtrans %}
{% if meta_edit %}
{% else %}

{{ domain_type | lower }}

{% endif %}
{% if domain_type == "SLAVE" %}
{% trans %}IP address of master NS{% endtrans %}
{% if meta_edit %}
{% else %}

{{ slave_master }}

{% endif %}
{% endif %}
{% trans %}Template{% endtrans %}
{% if meta_edit %}
{% else %}

{% if zone_template_details %} {{ zone_template_details['name'] | lower }} {% else %} none {% endif %}

{% endif %}
{% if pdnssec_use %}
{% trans %}DNSSEC{% endtrans %}
{% if is_secured %} {% trans %}Manage DNSSEC{% endtrans %} {% else %} {% if perm_edit != "none" and meta_edit %}
{% else %}

{% trans %}Not signed{% endtrans %}

{% endif %} {% endif %}
{% endif %}