{% extends "ui/templates/base/layout.html" %} {% block content %}

{{ mapping.domain_name }}

Domain mapping details and DNS verification token.

Mapping

Type
{{ mapping.domain_type.replace('_', ' ')|title }}
Status
{{ mapping.status.replace('_', ' ')|title }}
Audit Firm
{{ mapping.tenant.display_name or mapping.tenant.name if mapping.tenant else '-' }}
Branch
{{ mapping.branch.name if mapping.branch else '-' }}
Consultant
{{ mapping.consultant.contact_person if mapping.consultant else '-' }}
Parent Firm
{{ mapping.parent_tenant.display_name or mapping.parent_tenant.name if mapping.parent_tenant else '-' }}
Primary
{{ 'Yes' if mapping.is_primary else 'No' }}
SSL Mode
{{ mapping.ssl_mode }}
SSL Status
{{ (mapping.ssl_status or "not_checked").replace("_", " ")|title }}
{% if mapping.notes %}
{{ mapping.notes }}
{% endif %}

DNS Verification

{% if dns_result is defined and dns_result %}
{{ 'Verification successful' if dns_result.ok else 'Verification failed' }}
{{ dns_result.message }}
{% if dns_result.found_values %}
Found TXT: {{ dns_result.found_values|join(', ') }}
{% endif %}
{% endif %} {% if mapping.is_verified %}
This domain is marked as verified.
{% else %}
Add the TXT record below at your DNS provider. Click Verify DNS after adding the TXT record at your DNS provider.
{% endif %}
TXT Name
{{ mapping.dns_txt_name or '-' }}
TXT Value
{{ mapping.dns_txt_value or '-' }}
{% endblock %}