Lookup ip hosting
lookup_ip_hostingLook up the IP address(es) for a domain and identify which network announces them — ASN, AS name, BGP prefix, registry, and the registry country for the allocation. Returns { domain, ipv4[], ipv6[], primaryIp, hosting: { asn, asName, prefix, countryCode, registry } }. Call this when someone asks what IP a domain resolves to or which network owns that IP. asName is a registry handle with the operator appended ("CLOUDFLARENET - Cloudflare, Inc., US"), and countryCode is where the block was allocated, NOT where the server is — this is BGP data, not geolocation, and there is no city. IMPORTANT: the network announcing an IP is not the web host — for a site behind a CDN it IS the CDN (godaddy.com announces from Cloudflare). For "who hosts this site?" use detect_web_host instead. No login required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>"
},
"name": "lookup_ip_hosting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to look up (e.g. "example.com"). |