Added an opt-in to looking up own IP-Address

This commit is contained in:
Slatian
2024-04-21 00:00:04 +02:00
parent 1a973e09a0
commit 13cb85ac5a
5 changed files with 48 additions and 9 deletions

View File

@ -18,6 +18,9 @@
{% if r.hostname %}
<dt>Hostname</dt>
<dd>{{ helper::dig(extra=extra, name=r.hostname) }}</dd>
{% elif r.reverse_dns_disabled_for_privacy %}
<dt>Hostname</dt>
<dd>Lookup disabled by default: {{ helper::ip(ip=r.address, with_self_lookup=true)}}</dd>
{% endif %}
{% if r.asn %}
<dt><abbr="Autonomous System Number">ASN</abbr></dt>