or download this
Cables_DB=# SELECT country_code, city_name, latitude, longitude, radiu
+s FROM geoip WHERE '8.8.8.8' << netblock LIMIT 1;
country_code | city_name | latitude | longitude | radius
--------------+-----------+----------+-----------+--------
...
-> Index Scan using geoip_netblock_idx on geoip (cost=0.41..8.43
+rows=1 width=35)
Index Cond: ((netblock)::inet >> '8.8.8.8'::inet)
(3 rows)