geoip_lookup
Resolve an IPv4 address to its FortiGuard geolocation country through a specified FortiGate device, with optional VDOM scoping for accurate GeoIP context.
Instructions
Resolve an IP address to its FortiGuard geolocation (country) via the device.
Parameters:
device_id: Identifier of the FortiGate device
ip: IPv4 address
vdom: Virtual Domain name (optional)
Returns:
Country and related GeoIP fields
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 address | |
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |