added host IP lookup functionality per request