summaryrefslogtreecommitdiff
path: root/whois.jordan.im/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'whois.jordan.im/index.html')
-rw-r--r--whois.jordan.im/index.html17
1 files changed, 16 insertions, 1 deletions
diff --git a/whois.jordan.im/index.html b/whois.jordan.im/index.html
index 7eb6c86..344f853 100644
--- a/whois.jordan.im/index.html
+++ b/whois.jordan.im/index.html
@@ -36,7 +36,7 @@
can be used to communicate with the server using
<var class="Ar">--host</var> and <var class="Ar">--port</var> arguments.
Both hostnames and IP address are accepted.</p>
-<div class="Bd Pp Bd-indent Li">
+<div class="Bd Pp Li">
<pre>$ whois -h whois.jordan.im google.com
IP Address | AS Number | Country | AS Name | Announcement
@@ -53,6 +53,21 @@ IP Address | AS Number | Country | AS Name | Announcement
<p class="Pp">If a hostname is provided, queries for each resolved A/AAAA record
will be returned. The dataset is regenerated daily to ensure response
accuracy.</p>
+<p class="Pp">An instance of the <code class="Nm">asn</code> HTTP component is
+ hosted at <a class="Lk" href="https://ip.jordan.im/">ip.jordan.im</a> which
+ provides the requesting address's autonomous system information over HTTP
+ via JSON.</p>
+<div class="Bd Pp Li">
+<pre>$ curl ip.jordan.im
+
+{
+ &quot;host&quot;: &quot;45.83.89.132&quot;,
+ &quot;hostname&quot;: &quot;45-83-89-132.pool.ovpn.com&quot;,
+ &quot;org&quot;: &quot;AS9009 M247 Europe SRL&quot;,
+ &quot;announcement&quot;: &quot;45.83.89.0/24&quot;
+}</pre>
+</div>
+<p class="Pp"></p>
</section>
</div>
<table class="foot">