# IP address inspector

Classify an IPv4 or IPv6 address (private, loopback, CGNAT and more) and show its integer, hex and reverse-DNS forms.

- Endpoint: `POST https://setget.net/v1/tools/ip-inspect` with JSON `{"input": {...}}`
- MCP: `run_tool` with `slug` = `ip-inspect`
- Page: https://setget.net/tools/ip-inspect

## Inputs

- `ip` (required, string): The IP address to inspect.

## Example 1

```json
{"input":{"ip":"192.168.1.10"}}
```

Result:

```json
{"ip":"192.168.1.10","version":4,"type":"private","is_private":true,"is_loopback":false,"is_link_local":false,"is_multicast":false,"is_cgnat":false,"is_documentation":false,"is_reserved":false,"is_public":false,"integer":3232235786,"hex":"0xC0A8010A","binary":"11000000.10101000.00000001.00001010","exploded":"192.168.1.10","reverse_dns":"10.1.168.192.in-addr.arpa","ipv4_mapped":"::ffff:192.168.1.10","embedded_ipv4":null}
```

## Example 2: An IPv6 documentation address

```json
{"input":{"ip":"2001:DB8::1"}}
```

Result:

```json
{"ip":"2001:db8::1","version":6,"type":"documentation","is_private":false,"is_loopback":false,"is_link_local":false,"is_multicast":false,"is_cgnat":false,"is_documentation":true,"is_reserved":false,"is_public":false,"integer":"42540766411282592856903984951653826561","hex":"0x20010DB8000000000000000000000001","binary":null,"exploded":"2001:0db8:0000:0000:0000:0000:0000:0001","reverse_dns":"1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa","ipv4_mapped":null,"embedded_ipv4":null}
```

**Is anything looked up?** No. The reverse-DNS value is only the name you would query. No DNS request is made and no location or owner is found.

**What is CGNAT?** The range 100.64.0.0/10, which internet providers use between their own equipment and customers. It is not reachable from the internet.

**Why is the IPv6 integer in quotes?** It has up to 39 digits, far more than most JSON readers can hold exactly.
