diff options
author | Jordan <me@jordan.im> | 2023-01-14 06:05:07 +0000 |
---|---|---|
committer | Jordan <me@jordan.im> | 2023-01-14 06:05:07 +0000 |
commit | 38c02e531cefaf218655fc3b51bf4a409416a96a (patch) | |
tree | 81700b5e31178676aae5293986ff30e68feb0782 /whois.jordan.im/index.7 | |
parent | 5167dfa180fb780fd9f5886fb7ab74301cbb84f0 (diff) | |
download | www-38c02e531cefaf218655fc3b51bf4a409416a96a.tar.gz www-38c02e531cefaf218655fc3b51bf4a409416a96a.zip |
jordan.im, whois.jordan.im: links, documentation
Diffstat (limited to 'whois.jordan.im/index.7')
-rw-r--r-- | whois.jordan.im/index.7 | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/whois.jordan.im/index.7 b/whois.jordan.im/index.7 index a68e10c..5d01226 100644 --- a/whois.jordan.im/index.7 +++ b/whois.jordan.im/index.7 @@ -28,7 +28,7 @@ and .Ar --port arguments. Both hostnames and IP address are accepted. . -.Bd -literal -offset indent +.Bd -literal $ whois -h whois.jordan.im google.com IP Address | AS Number | Country | AS Name | Announcement @@ -46,3 +46,23 @@ IP Address | AS Number | Country | AS Name | Announcement .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. + +An instance of the +.Nm +HTTP component is hosted at +.Lk https://ip.jordan.im/ ip.jordan.im +which provides the requesting address's autonomous system information over HTTP +via JSON. +. +.Bd -literal +$ curl ip.jordan.im + +{ + "host": "45.83.89.132", + "hostname": "45-83-89-132.pool.ovpn.com", + "org": "AS9009 M247 Europe SRL", + "announcement": "45.83.89.0/24" +} +.Ed +. + |