On release 3.0.7, this plugin had been equipped with WordPress-IP-Geo-API for GeoLite2 free databases becase Maxmind announced that GeoLite Legacy Downloadable Databases will be stopped updating on April 1, 2018.
But the new databases seemed not to have enough entries compared to the legacy
one. And also 3.0.7 had an serious bug which made descendent scanning stopped
when the API claimed that a country code was unknown, i.e.
After releasing 3.0.8 to fix the above issue on , I have observed how many
times GeoLite2 databases claimed
ZZ. It still occurred but I decided to
change the priority of scanning order because the day will come on next month.
Now you can find “Geolite2” is placed higher than “Maxmind” which handles GeoLite Legacy DBs in “Geolocation API settings” section. It means GeoLite2 DBs would be always scanned before GeoLite Legacy’s.
When GeoLite2 DB fails to scan a country code (i.e.
ZZ), then Legacy DB is
used to determine the country code. The following picture shows that Legacy DBs
are used 8 times as fallbacks for the recent month.
The problem here is that those fallbacks take additional costs (e.g. time and server resource). So if you find these so frequently, please uncheck “Geolite2” in “Geolocation API settings” section.
You can find the SOS button beside the text area for IP address and AS Number.
It pops up a CIDR calculator that is actually to convert some range of IP addresses and CIDR to each other.
Here, I’ll show you some examples to explain how it works to convert to each other.
If you put the following range of IP addresses into the “Range” text area and click “→” :
you’ll get the answer in the “CIDR” text area like this :
If you put the following 2 lines as “CIDR” and click “←” :
you will get
192.168.0.0 - 192.168.255.255 as “Range” because
If you put the following 2 lines as “Range” :
you will get the answer :
Then click “←” to convert them back to “Range” again, you’ll get 1 line as follows :
If you put
192.168.1.1 - 192.168.1.254 into “Range”, you will get the
answer like this :
In this case, you should specify
192.168.1.0/16 as “CIDR” because it
covers all the above IP addresses.
Have fun! .