GeoIP function. Handlers with default option of ip