mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2024-12-27 04:08:20 +01:00
Added explanations on how to query without a browser
This commit is contained in:
parent
896564791e
commit
7191e8aa31
@ -157,6 +157,9 @@
|
||||
<h3>Why queryting this service is still useful</h3>
|
||||
<p>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.</p>
|
||||
<p>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 <i>something</i>.</p>
|
||||
<h3>How?</h3>
|
||||
<p>You can choose between the <code>html</code>, <code>text</code> and <code>json</code> format.</p>
|
||||
<p>An example of an url could be: <code>{{ extra.base_url }}/dig/example.org?format=json</code></p>
|
||||
</section>
|
||||
|
||||
{% endblock %}
|
||||
|
@ -14,7 +14,7 @@
|
||||
<h2>Network Information</h2>
|
||||
<dl>
|
||||
<dt>Type of Address</dt>
|
||||
<dd>{{r.ip_info.scope | title}} {{r.ip_info.cast | title}} IPv{% if r.ip_info.is_v6_address %}6{% else %}4{% endif %}</dd>
|
||||
<dd>{{ helper::ip_info(ip_info=r.ip_info) }}</dd>
|
||||
{% if r.hostname %}
|
||||
<dt>Hostname</dt>
|
||||
<dd>{{ helper::dig(extra=extra, name=r.hostname) }}</dd>
|
||||
@ -78,5 +78,15 @@
|
||||
{{ links::asn_links(asn=r.asn.asn, org_name=r.asn.name) }}
|
||||
{% endif %}
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>Programatic Lookup</h2>
|
||||
<p>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)</p>
|
||||
<h3>How?</h3>
|
||||
<p>You can choose between the <code>html</code>, <code>text</code> and <code>json</code> format.</p>
|
||||
<p>An example of an url could be: <code>{{ extra.base_url }}/ip/1.2.3.4?format=json</code></p>
|
||||
<p>To look up your IP-Address as json: <code>{{ extra.base_url }}/?format=json</code></p>
|
||||
</section>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user