diff --git a/templates/dig.html b/templates/dig.html index f55fb37..7394754 100644 --- a/templates/dig.html +++ b/templates/dig.html @@ -157,6 +157,9 @@

Why queryting this service is still useful

This service most probably doesn't share its cache with your local resolver, this way you have a way to see if your DNS-change had the effect it should have.

It may also be useful for debugging other dns problems or to get around a local resolver that is lying to you because your ISP is a something.

+

How?

+

You can choose between the html, text and json format.

+

An example of an url could be: {{ extra.base_url }}/dig/example.org?format=json

{% endblock %} diff --git a/templates/ip.html b/templates/ip.html index e7173df..9fa7fc3 100644 --- a/templates/ip.html +++ b/templates/ip.html @@ -14,7 +14,7 @@

Network Information

Type of Address
-
{{r.ip_info.scope | title}} {{r.ip_info.cast | title}} IPv{% if r.ip_info.is_v6_address %}6{% else %}4{% endif %}
+
{{ helper::ip_info(ip_info=r.ip_info) }}
{% if r.hostname %}
Hostname
{{ helper::dig(extra=extra, name=r.hostname) }}
@@ -78,5 +78,15 @@ {{ links::asn_links(asn=r.asn.asn, org_name=r.asn.name) }} {% endif %} + +
+

Programatic Lookup

+

If you want to look up this IP-Address Information in another program that is okay as long as you are civil about it … (ratelimit)

+

How?

+

You can choose between the html, text and json format.

+

An example of an url could be: {{ extra.base_url }}/ip/1.2.3.4?format=json

+

To look up your IP-Address as json: {{ extra.base_url }}/?format=json

+
+ {% endblock %}