validate_url(
url: str,
policy: SSRFPolicy = SSRFPolicy(),
) -> NoneValidate a URL against the SSRF policy, including DNS resolution.
This is the primary entry-point for async code paths. It delegates
scheme/hostname/allowed-hosts checks to validate_url_sync, then
resolves DNS and validates every resolved IP.