"UNKNOWN COUNTRY" is returned for ip addresses that actually have a known country?
Not a direct bug with the iplocation command per say , but the service that the command's script ($SPLUNK_HOME/etc/apps/search/bin/iplocation.py) uses does not return any results.
http://www.hostip.info most probably need to update their database.
Using the 220.127.116.11 IP as an example :
Country: (Unknown Country?) (XX) City: (Unknown City?) IP: 18.104.22.168
Alternatively , I tried performing geolocation on that IP using the MAXMIND GeoLite City database that comes with the Splunk Google Maps App, and it resolves "United States" just fine.
Hacky little test command :
... | eval ip="22.214.171.124" | lookup geo ip | table ip_country_name
... | eval ip="126.96.36.199" | geoip ip | table ip_country_name
Note that this is pre-6.x iplocation. There is no more iplocation.py as of 6, as it is replaced by a built-in command that has a databased updated with maintenance releases http://answers.splunk.com/answers/123430/how-to-update-geoip-database-for-iplocation-command