This add-on allows you to look up information of an IP address selected from a text representing an IP address or domain name within the current web page. The following is a sample of an IP address information for "google.com":
Country United States
City Mountain View
The web-based version is available from https://dazzlepod.com/ip/. API that returns JSON output is also available, e.g. https://dazzlepod.com/ip/18.104.22.168.json, for those who want to perform IP lookup programmatically.