cache ip lookup to make things faster