# validate_resolved_ip

> **Function** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/_security/_policy/validate_resolved_ip)

Validate a resolved IP address against the SSRF policy.

Raises SSRFBlockedError if the IP is blocked.

## Signature

```python
validate_resolved_ip(
    ip_str: str,
    policy: SSRFPolicy,
) -> None
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/85a5a04210452aec2eb3a06a02961c8fefd5c8b6/libs/core/langchain_core/_security/_policy.py#L191)