Description
This plugin brings the IP lookup from IPWHOIS.net into your dashboard. It does four small things and stays out of the way otherwise.
Tools > IP Lookup. Type an IP address, a domain or a full URL. You get the network that owns it and its AS number, the organization, the type of network (hosting, ISP, mobile, business and so on), the city and country, and whether the address is on our blacklist. A link opens the full report.
IP lookup link on comments. Every comment in the Comments screen gets an “IP lookup” link next to Reply and Edit. One click shows where the comment came from. Handy when you are deciding whether something is spam.
Dashboard widget. “Server IP and blacklist” shows the public IP of the server your site runs on, the hosting network behind it, and whether that IP is blacklisted. If your contact form mail suddenly lands in spam, this is the first thing worth checking. The result is cached for 12 hours and there is a link to check again.
[ipwhois_my_ip] shortcode. Shows visitors their own IP address. The address comes from the request your server received, so no outside service is involved. Pages with the shortcode are marked as not cacheable, so one visitor never sees another visitor’s address.
No account is needed. Without a key the plugin uses the free lookups, 200 a day for your server. If you need more, a free API key from ipwhois.net gives 1,000 a day and can be pasted in Settings > IPWHOIS.net.
Nothing is added to your public pages unless you use the shortcode. The small credit link under the shortcode is off until you switch it on.
External services
This plugin connects to the IPWHOIS.net lookup API at https://ipwhois.net/api/ext/v1/lookup.php to get network, location and blacklist data.
What is sent, and when:
- When an administrator runs a lookup on Tools > IP Lookup, the IP address or domain they typed is sent.
- When an administrator clicks “Check this server” (or “Check again”) in the dashboard widget, two requests are made: one that returns the public IP of your server, and one lookup of that IP. Your server’s IP address is visible to the service as the sender of the request, as with any web request. The widget sends nothing until it is clicked. If you switch on “Check this server’s IP automatically” in Settings > IPWHOIS.net (off by default), the widget repeats the check by itself at most every 12 hours.
- If you saved an API key, it is sent with each request in the X-API-Key header.
Nothing is sent when visitors view your site. The comment “IP lookup” link and the shortcode credit link are plain links: they open ipwhois.net in the browser only if someone clicks them, and that page then receives the IP address in its URL.
No personal data of your visitors is collected by the plugin. The lookup service does not store the addresses or domains you look up; its request log keeps the time, the caller’s IP and the user agent for 120 days.
The service is provided by IPWHOIS.net: Terms of use, Privacy policy.
Screenshots



Installation
- Install the plugin from Plugins > Add New, or upload the folder to /wp-content/plugins/.
- Activate it.
- Open Tools > IP Lookup, or click “Check this server” in the new dashboard widget.
FAQ
-
Is it free?
-
Yes. The plugin is free and the lookups it makes are free up to 200 a day per server. With a free API key the limit is 1,000 a day. Paid plans exist for people who need much more, but the plugin works fine without one.
-
My site is behind Cloudflare and the shortcode shows a Cloudflare address
-
The shortcode only trusts the address your server sees. Headers like X-Forwarded-For can be written by anyone, so the plugin ignores them. If your host restores the real visitor IP (most Cloudflare setups do this with mod_remoteip or a similar module), the shortcode will show it.
-
How accurate is the location?
-
Country is right for almost every address. City is an estimate: for mobile networks and large ISPs it is often the city where the operator routes traffic, not where the person is. The report page explains where each value comes from.
-
Does it slow down my site?
-
No. Nothing runs on the public side apart from the shortcode, and that makes no outside request. Admin lookups are cached for a day.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“IPWHOIS.net IP Lookup” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “IPWHOIS.net IP Lookup” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- First release.
