mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2024-12-28 04:28:23 +01:00
40 lines
694 B
HTML
40 lines
694 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>Dig: {{ dig_query }}</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1>Lookup for: {{ dig_query }}</h1>
|
||
|
{% if dig_result.a %}
|
||
|
<p>A (IPv4) records:</p>
|
||
|
<ul>
|
||
|
{% for address in dig_result.a%}
|
||
|
<li><code>{{address}}</code></li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
{% endif %}
|
||
|
|
||
|
{% if dig_result.aaaa %}
|
||
|
<p>AAAA (IPv6) records:</p>
|
||
|
<ul>
|
||
|
{% for address in dig_result.aaaa%}
|
||
|
<li><code>{{address}}</code></li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
{% endif %}
|
||
|
|
||
|
{% if dig_result.mx %}
|
||
|
<p>MX (Mail Exchange) records:</p>
|
||
|
<ul>
|
||
|
{% for mx in dig_result.mx%}
|
||
|
<li>{{mx.preference}} <code><a href="/dig?name={{mx.exchange}}">{{mx.exchange}}</a></code></li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
{% endif %}
|
||
|
|
||
|
|
||
|
|
||
|
</body>
|
||
|
</html>
|
||
|
|