Skip to main content
Dongkwan
Staff
Staff
June 28, 2022

Technical TIp: How to look up IP address information from the Internet Service Database

  • June 28, 2022
  • 0 replies
  • 8374 views
Description

This article describes how to look up IP address information from Internet Service Database on FortiGate GUI.


The result includes the location, coordinates, reputation, and other internet service information.

Scope FortiGate v7.2.0+ GA releases.
Solution

To lookup IP address Info.


From GUI, go to Policy & Objects -> Internet Service Database -> IP Address Lookup.

 

ip_lookup_menu.JPG

 

  1. Query about a specific IP address, and the result is as follows.

 

query_info.png

 

  1. If there is no connection with the FortiGuard server, the IP address information would not be displayed properly.

no_info.JPG

 

  1. To verify the IP address Lookup via the CLI: 

 

diagnose internet-service match <vdom_name> <IP_Address> <Netmask>

 

Replace <vdname>, <ip>, and <netmask> with the appropriate values to find matched Internet Services for the specific IP address.

 

For example:

 

diagnose internet-service match root 96.45.46.46 255.255.255.255

 

Screenshot 2026-02-11 151428.png

 

  1. To verify the IP address location using CLI, the following command is used:

 

   diagnose geoip ip2country <ip-address>

    

This will provide the country information for the specified IP address.

 

diagnose geoip ip2country.jpg

 

The following command is used to get more information on the IP, along with coordinates:

 

diagnose geoip geoip-query <ip-address>

 

diagnose geoip geoip-query.jpg