Greg Williams - 2018-02-27

Hi All,

I have Modsecurity setup on IIS and have setup the Geo Lookup rule, I have downloaded the latest database and specified the following rule

SecGeoLookupDb 'GeoDB\GeoLiteCity.dat'

SecRule REMOTE_ADDR "@geoLookup" "chain,id:22,status:403,drop,msg:'Non-GB or IE IP address'"
SecRule GEO:COUNTRY_CODE "!@pm GB IE" "t:none"

However I always get the error - Geo lookup for "IP:port" failed: No such host is known.

The server allows all traffic to pass.

I have tried this for various different IP addresses across the world and I get the same result. Any ideas on how to resolve this would be appreciated.