{% extends "base.html" %} {% import "_macros.html" as m with context %} {% block title %}{{ z.zone.domain }} DNS{% endblock %} {% block content %} {% set zone = z.zone.domain %}
{{ m.icon("up") }}DNS

{{ zone }}

Set the name servers of {{ zone }} at your registrar to {% if z.ns %}{{ z.ns|join(" and ")|safe }}{% else %}this server{% endif %}. Every change is checked with named-checkzone before it goes live.

{% for r in z.records %} {% endfor %}
NameTypeValueTTL
{{ r.name }}{{ zone if r.name == "@" else (r.name ~ "." ~ zone) }} {{ r.type }} {% if r.type in ('MX', 'SRV') %}{{ r.prio }} {% endif %}{{ r.value }} {{ r.ttl }}
{{ m.csrf_field() }}

Delete zone

This server stops answering for {{ zone }}.

{{ m.csrf_field() }}
{% endblock %}