mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2025-06-28 21:18:03 +02:00
Made templates work with new data.
This commit is contained in:
@ -24,10 +24,10 @@
|
||||
|
||||
{% set r = data.result.records %}
|
||||
<section>
|
||||
<h2>DNS Records</h2>
|
||||
<h2>DNS Records via {{data.result.used_dns_resolver}}</h2>
|
||||
|
||||
{% if r.nxdomain %}
|
||||
<p class="error box">Our DNS-Server claims that this domain doesn't exist, you shouldn't see any results below.</p>
|
||||
<p class="error box">Our DNS-Server claims that this domain doesn't exist, there shouldn't be any results.</p>
|
||||
{% elif r.timeout %}
|
||||
<p class="error box">There was at least one timeout error while resolving this domain, the results below are incomplete.</p>
|
||||
{% elif r.other_error %}
|
||||
@ -66,7 +66,7 @@
|
||||
<li>{{ helper::ip(extra=extra, ip=address) }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
{% elif not r.nxdomain %}
|
||||
<p>No <code>A</code> (IPv4) Records.</p>
|
||||
{% endif %}
|
||||
|
||||
@ -77,7 +77,7 @@
|
||||
<li>{{ helper::ip(extra=extra, ip=address) }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
{% elif not r.nxdomain %}
|
||||
<p>No <code>AAAA</code> (IPv6) Records.</p>
|
||||
{% endif %}
|
||||
|
||||
@ -90,7 +90,7 @@
|
||||
<li>{{ helper::dig(extra=extra, name=mx.exchange, fqdn=true, prefix=mx.preference) }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
{% elif not r.nxdomain %}
|
||||
<p id="mx">No <code>MX</code> (Mail Exchange) records.</p>
|
||||
{% endif %}
|
||||
|
||||
@ -116,7 +116,7 @@
|
||||
</dl></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
{% elif not r.nxdomain %}
|
||||
<p id="soa">No <code>SOA</code> records.</p>
|
||||
{% endif %}
|
||||
|
||||
@ -129,7 +129,7 @@
|
||||
<li>{{ helper::dig(extra=extra, name=ns) }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
{% elif not r.nxdomain %}
|
||||
<p id="ns">No <code>NS</code> (Name Server) records.</p>
|
||||
{% endif %}
|
||||
|
||||
@ -141,7 +141,7 @@
|
||||
<li><code>{{caa}}</code></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
{% elif not r.nxdomain %}
|
||||
<p id="caa">No <code>CAA</code> (<a target="_blank" href="https://de.wikipedia.org/wiki/DNS_Certification_Authority_Authorization">Certification Authority Authorization</a>) records.</p>
|
||||
{% endif %}
|
||||
|
||||
@ -152,7 +152,7 @@
|
||||
<li><code>{{txt}}</code></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
{% elif not r.nxdomain %}
|
||||
<p id="txt">No <code>TXT</code> records.</p>
|
||||
{% endif %}
|
||||
|
||||
@ -172,7 +172,7 @@
|
||||
</dl></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
{% elif not r.nxdomain %}
|
||||
<p id="srv">No <code>SRV</code> records.</p>
|
||||
<p><code>SRV</code> or Service records usually live on their own subdomains like {{ helper::dig(extra=extra, name="_xmpp-client._tcp."~data.query) }}.
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user