by simunaga · 10y ago · 0 comments
$ curl ipinfo.io/`dig +short facebook.com | head -n1`
{
"ip": "69.171.230.68",
"hostname": "edge-star-mini-shv-17-prn1.facebook.com",
"city": "Menlo Park",
"region": "California",
"country": "US",
"loc": "37.4590,-122.1781",
"org": "AS32934 Facebook, Inc.",
"postal": "94025"
}
See https://ipinfo.io/developers for more detailscan I and how obtain this information myself, from the very source, for a given domain name or company or whatever it is?