mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2025-07-18 14:56:01 +02:00
Fixed text templates
This commit is contained in:
@ -85,6 +85,30 @@ MX (Mail Exchange) records:
|
||||
No MX (Mail Exchange) records.
|
||||
{% endif %}
|
||||
|
||||
{%- if r.soa %}
|
||||
SOA (Source Of Authority) records:
|
||||
{% for soa in r.soa %}
|
||||
* MName: {{soa.mname}}
|
||||
* RName: {{soa.rname}}
|
||||
* Serial: {{soa.serial}}
|
||||
* Refresh: {{soa.refresh / 60 | round(precision=2)}}m
|
||||
* Retry: {{soa.retry / 60 | round(precision=2)}}m
|
||||
* expire: {{soa.expire / 3600 | round(precision=2)}}h
|
||||
* minimum: {{soa.minimum / 60 | round(precision=2)}}m TTL
|
||||
{% endfor %}
|
||||
{%- else %}
|
||||
No SOA (Source Of Authority) records.
|
||||
{% endif %}
|
||||
|
||||
{%- if r.ns %}
|
||||
NS (Name Server) records:
|
||||
{% for ns in r.ns -%}
|
||||
* {{ns}}
|
||||
{% endfor %}
|
||||
{%- else %}
|
||||
No NS (Name Server) records.
|
||||
{% endif %}
|
||||
|
||||
{%- if r.caa %}
|
||||
CAA (Certification Authority Authorization) records:
|
||||
{% for caa in r.caa -%}
|
||||
@ -99,7 +123,7 @@ TXT records:
|
||||
{% for txt in r.txt -%}
|
||||
* {{txt}}
|
||||
{% endfor %}
|
||||
{%- else -%}
|
||||
{%- else %}
|
||||
No TXT records.
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user