diff options
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 +. + |