# Add IP info lookup for Admins

**URL:** <https://meta.discourse.org/t/add-ip-info-lookup-for-admins/15626>\
**Category:** Feature\
**Tags:** rfc, spec\
**Created:** [2014 年5 月 14 日 07:13 UTC](https://meta.discourse.org/t/add-ip-info-lookup-for-admins/15626 "2014-05-14T07:13:11Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

作者： ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
发布日期： [2014 年5 月 14 日 17:25 UTC](https://meta.discourse.org/t/add-ip-info-lookup-for-admins/15626/8 "2014-05-14T17:25:13Z")

</div>

Oh wow, it includes the AS number? That could be useful for detecting cheap proxies.

Here’s what it returns for my droplet in the SF cluster:

```plaintext
curl ipinfo.io/107.170.242.76
{
  "ip": "107.170.242.76",
  "hostname": "hello.from.riking.org",
  "city": "New York",
  "region": "New York",
  "country": "US",
  "loc": "40.7267,-73.9981",
  "org": "AS14061 Digital Ocean, Inc.",
  "postal": "10012"
}

```

Yeah, “Digital Ocean” is _way_ more useful than “New York” there.

And my current location on campus WiFi:

```plaintext
{
  "ip": "129.65.150.6",
  "hostname": "pcp069467pcs.wireless.calpoly.edu",
  "city": "San Luis Obispo",
  "region": "California",
  "country": "US",
  "loc": "35.3471,-120.4553",
  "org": "AS2152 California State University Network",
  "postal": "93407"
}

```

Again, AS number is really useful!

---

_[View the full topic](https://meta.discourse.org/t/add-ip-info-lookup-for-admins/15626)._
